AN1176 STMicroelectronics, AN1176 Datasheet - Page 13

no-image

AN1176

Manufacturer Part Number
AN1176
Description
68HC11/PSD813F1 DESIGN GUIDE
Manufacturer
STMicroelectronics
Datasheet
2.3.6 Logic Synthesis and Fitting
After you have edited the PSDabel template file to look like the above file, go to the design flow
window and click on the ‘Logic Synthesis and Fitting’ box. Now PSDsoft will compile the
PSDabel file and then synthesize the PSDabel statements into reduced logic that fits the
PSD813F1 silicon. When this process is complete, a report will pop up that shows the resulting
pin assignments and the resulting reduced equations. This is the ‘fitter report’, which you can use
to document your design. Notice the pin assignments for the JTAG channel in the fitter report.
2.3.7 C Code Generation
You can take advantage of the provided low level C code drivers for accessing memory elements
within the PSD by clicking on the ‘C code Generation’ box in the design flow window. ANSI C
code functions and headers are generated for you to paste into your 68HC11 C compiler
environment. Just tailor the code to meet your system needs and compile. To get the C functions
and headers, simply specify the folder in which you want the ANSI C files to be written. See
Application Note 57 for details on the C code generation feature.
2.3.8 MCU Code Mapping
Now that the fitting process is complete, PSDsoft has created a fuse pattern that reflects the PSD
configuration and logic of your design. PSDsoft places this fuse information into a file (this is
the *.obj file). However this fuse pattern does not yet contain the 68HC11 firmware. The next
step will accomplish this, producing a *.obj file that contains the PSD configuration AND the
68HC11 firmware. This final *.obj file is what gets programmed into the PSD. Note: the first
*.obj file that is created without MCU firmware can be used for logic simulation, see Application
Note 57 for details. That same *.obj file is appended with MCU firmware in the next step below.
This next step, MCU Code Mapping, will input the firmware file(s) that contain absolute
addresses from your 68HC11 compiler/linker (S-record or Intel HEX format), and it will map
these file(s) into the memory segments of the PSD according to the HDL equations that you
entered in PSDabel. This mapping process translates the absolute system addresses that 68CH11
uses into physical internal PSD addresses that are used by a programmer to program the PSD.
This address translation is transparent to you, the user. All you need to do is type in the file
name(s) that were generated from your 68HC11 linker into the appropriate boxes, and PSDsoft
does the rest.
Go to the design flow window, click the ‘MCU Code Mapping’ box. You should see the
following warning as the utility starts.
Page 11

Related parts for AN1176