continue save your adhl file as name. TDF □回 SUBDESIGN daisy Must be calrequest INPUT: daisy. tdf I NPUT Directory is: d: \maxw2work the same /request out OUTPU Files Directories /grant in /grant out OUTPUT BEGIN DEFAULTS /local grant UCC: /grant out UCC END DEFAULTS Automatic Extension tdf Line 1 Col 1 INS 4I Copyright 1997 Altera Corporation 2/22/2021P favara
Copyright © 1997 Altera Corporation 2/22/2021 P.6 continue….. ◼ save your ADHL file as name.TDF Must be the same
continue UBDESIGN daisy /local reques NPUT; OUTPUT INPUT: from lower priority Click /request out OUTPUT: to higher priority n this MA+ olug ll File已oces nterlaces Assign Options window Help □口k Info: Chip'daisysuccessfully fit into AuTo device MAX+plus lI-Comt L Message of 2 Help on Message」 L locate> of0 I Locate: A K GND THEN /local grant GND Line cOl INS 4I Copyright 1997 Altera Corporation 2/22/2021P7 favara
Copyright © 1997 Altera Corporation 2/22/2021 P.7 continue... Click on this icon
Error Location during Compilation Easy to locate the error 四区 园回圈画 /local UCC: g active-low output /request out signals should default END DEFAULTS Netlist IF /request_in ==GND /local request ==fND_- Error /request out location IF /grant in ==GND THEN IF /local request = GND /loca ELSIF /request in==GND m Click the /grant out =GND: END IF error Line 18 Col 23 INS 4 Message卜10of1 Locate in Floorplan Editor Help on Message message 4 L Locate All Copyright 1997 Altera Corporation Click the Locate button 2/22/2021P favara
Copyright © 1997 Altera Corporation 2/22/2021 P.8 Error Location during Compilation ◼ Easy to locate the error Click the error message Click the Locate button Error location
AHDL Template If-then-else Fo M4X+plus l Fle Edit Iemplates Assign u ities Options Window Hep forgot case-end case loop-end loop IF expression THEN statement statement ELSIF /expression THEN Statemen statement ELSE statement statement Modify the code Copyright 1997 Altera Corporation 2/22/2021P favara
Copyright © 1997 Altera Corporation 2/22/2021 P.9 AHDL Template I forgot ……. If-then-else case-end case loop-end loop ??…??? Modify the code
General AHdl Format subdeSign decode Key Word input pin name: INPUT nput bus name 15.0]: INPUT Defien 1/0 port output pin name: OUTPUT output bus name: OUTPUT BEGIN ouptut pin name- input pin name gi output bus name=input bus name END AHDL format Copyright 1997 Altera Corporation 2/22/2021P10 favara
Copyright © 1997 Altera Corporation 2/22/2021 P.10 General AHDL Format SUBDESIGN decode1 ( input_pin_name : INPUT; input_bus_name[15..0] : INPUT; output_pin_name : OUTPUT; output_bus_name : OUTPUT; ) BEGIN ouptut_pin_name = input_pin_name; output_bus_name = input_bus_name; END; Key Word Defien I/O port Logic AHDL format