AN1154 STMicroelectronics, AN1154 Datasheet - Page 59

no-image

AN1154

Manufacturer Part Number
AN1154
Description
8031-PSD DESIGN TUTORIAL
Manufacturer
STMicroelectronics
Datasheet
jtagsel = !JCEn;
"**************************
**************************
// IMPORTANT NOTE: Comment these next four equations out for the ABEL simulation
only. The
//
//
//
//
//
//
//
//
//
//
DLEVEL.ck = 0;
DLEVEL := 0;
begin_cycle.ck = 0;
begin_cycle := 0;
mxord3 = Measured_Level3 $ !Desired_Level3;
// Trim the gain when the Measured signal level is greater than the desired signal
level.
// Trim = MLEVEL > DLEVEL
Trim = (Measured_Level3 & !Desired_Level3)
!Desired_Level2))
!Desired_Level2)
// Boost the gain when the Measured signal level is less than the desired one.
meqd = (MLEVEL == DLEVEL);
Boost = !meqd & !Trim;
// Generate the chip select
!RTCcsn = ((address >= ^h0a00) & (address <= ^h0aff));
// Loading of the various registers
# ((Measured_Level2 & !Desired_Level2) & mxord3)
# ((Measured_Level1 & !Desired_Level1) & mxord3 & (Measured_Level2 $
# ((Measured_Level0 & !Desired_Level0) & mxord3 & (Measured_Level2 $
& (Measured_Level1 $ !Desired_Level1));
the ABEL simulator does not reconize any "dot" extentions (As these would
correct). The problem is that the MCU presets (loads) and clears these
registers, and the value is not registered through the D input. However,
normally be set up through equations). The basic functionality can still
slightly different.
So, if you intend to use the ABEL Simulator, comment out the following
four lines so that the test vectors at the end of the file will work
properly.
PSDsilosIII Simulator requires the equations (and they are functionally
be properly tested, but how it is actually implemented in hardware is
GPLD/ECSPLD equations
AN1154 - APPLICATION NOTE
59/83

Related parts for AN1154