VHDL Modelling Guidelines Simulation and Documentation Aspects
Total Page:16
File Type:pdf, Size:1020Kb
Second draft, 23 February 1997 CENELEC TC217/WG2 report 2.14 English version VHDL Modelling Guidelines Simulation and Documentation Aspects This CENELEC Report is under preparation and review by the Technical Committee CENELEC TC 217 Working Group 2. CENELEC members are the national electrotechnical committees of Austria, Belgium, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and United Kingdom. CENELEC European Committee for Electrotechnical Standardisation Comité Européen de Normalisation Electrotechnique Europäisches Komitee für Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B-1050 Brussels CENELEC TC217/WG2 report 2.142 Second draft, 23 February 1997 3DJH LQWHQWLRQDOO\ OHIW EODQN Second draft, 23 February 19973 CENELEC TC217/WG2 report 2.14 )25(:25' 7KLV 7HFKQLFDO 5HSRUW LV WKH ILUVW GUDIW RI WKH &(1(/(& 7&:* UHSRUW 7KH UHSRUW LV GHULYHG IURP WKH (XURSHDQ 6SDFH $JHQF\ V (6$©V 9+'/ 0RGHOOLQJ *XLGHOLQHV UHIHUHQFH $6,& LVVXH GDWHG 6HSWHPEHU 7KLV GUDIW KDV EHHQ SUHSDUHG WDNLQJ LQWR DFFRXQW FRPPHQWV IURP &(1(/(& :* PHPEHUV SUHVHQWHG RQ WKH GHGLFDWHG HPDLO UHIOHFWRU 7KH DXWKRU ZRXOG OLNH WR WKDQN DOO FRQWULEXWRUV IRU WKHLU YDOXDEOH LQSXW 7KH (6$ 9+'/ 0RGHOOLQJ *XLGHOLQHV KDYH EHHQ XVHG LQ (6$ GHYHORSPHQW DQG VWXG\ FRQWUDFWV WR HQVXUH KLJKTXDOLW\ PDLQWDLQDEOH 9+'/ PRGHOV 7KH\ KDYH EHHQ SUHSDUHG E\ 3HWHU 6LQDQGHU ZLWK VXSSRUW IURP 6DQGL +DELQF ERWK DW WKH (6$(67(& 0LFURHOHFWURQLFV DQG 7HFKQRORJ\ 6HFWLRQ :60 32 %R[ $* 1RRUGZLMN 7KH 1HWKHUODQGV 7KH (6$ 9+'/ 0RGHOOLQJ *XLGHOLQHV DUH EDVHG RQ WKH H[SHULHQFH JDLQHG IURP (6$ FRQWUDFWV LQ WKLV DUHD GXULQJ VHYHUDO \HDUV IHHGEDFN IURP WKH FRQWUDFWLQJ FRPSDQLHV ZRUNLQJ IRU (6$ DQG YDULRXV LQIRUPDWLRQ IRXQG LQ DUWLFOHV QRQ9+'/ FRGLQJ JXLGHOLQHV DQG RQ WKH ,QWHUQHW CENELEC TC217/WG2 report 2.144 Second draft, 23 February 1997 3DJH LQWHQWLRQDOO\ OHIW EODQN Second draft, 23 February 19975 CENELEC TC217/WG2 report 2.14 7DEOH RI FRQWHQWV ,1752'8&7,21 3XUSRVH DQG VFRSH $SSOLFDEOH 'RFXPHQWV 5HIHUHQFH 'RFXPHQWV 5(48,5(0(176 )25 $// .,1'6 2) 02'(/6 *HQHUDO 1DPHV &RPPHQWV 7\SHV )LOHV 6LJQDOV DQG SRUWV $VVHUWLRQV DQG UHSRUWLQJ 6XESURJUDPV SURFHVVHV HQWLWLHV DUFKLWHFWXUHV FRPSRQHQW GHFODUDWLRQV &RQILJXUDWLRQV 3DFNDJHV 'HVLJQ OLEUDULHV &RQVWUXFWV WR EH DYRLGHG 9HULILFDWLRQ )LOH RUJDQLVDWLRQ $'',7,21$/ 5(48,5(0(176 0RGHOV IRU &RPSRQHQW VLPXODWLRQ 1DPHV 7\SHV 0RGHO LQWHUIDFH 0RGHOV IRU %RDUGOHYHO VLPXODWLRQ 1DPHV 0RGHO LQWHUIDFH +DQGOLQJ RI XQNQRZQ YDOXHV 7LPLQJ 5HSRUWLQJ 9HULILFDWLRQ 0RGHOV IRU 6\VWHPOHYHO VLPXODWLRQ 0RGHO LQWHUIDFH 9HULILFDWLRQ 7HVWEHQFKHV $XWRPDWHG YHULILFDWLRQ $33(1',; $ $%%5(9,$7,216 $33(1',; % &203$7,%,/,7< %(7:((1 9+'/ $1' 9+'/ $33(1',; & &$/&8/$7,21 2) 9+'/ /,1( &29(5$*( $33(1',; ' 9+'/ &2'( (;$03/(6 $33(1',; ( 6(/(&7,21 2) 6,08/$7,21 &21',7,21 CENELEC TC217/WG2 report 2.146 Second draft, 23 February 1997 3DJH LQWHQWLRQDOO\ OHIW EODQN Second draft, 23 February 19977 CENELEC TC217/WG2 report 2.14 ,1752'8&7,21 3XUSRVH DQG VFRSH 7KLV GRFXPHQW GHILQHV UHTXLUHPHQWV RQ 9+'/ PRGHOV DQG WHVWEHQFKHV ,W FRQFHUQV VLPXODWLRQ DQG GRFXPHQWDWLRQ DVSHFWV RI 9+'/ PRGHOV VSHFLILF DVSHFWV IRU ORJLF V\QWKHVLV IURP 9+'/ KDYH QRW EHHQ LQFOXGHG 1HYHUWKHOHVV WKH UHTXLUHPHQWV RI WKLV GRFXPHQW DUH FRPSDWLEOH ZLWK WKH XVH RI ORJLF V\QWKHVLV 7KH GRFXPHQW LV IRFXVHG RQ GLJLWDO PRGHOV VSHFLILF UHTXLUHPHQWV IRU DQDORJ PRGHOOLQJ KDYH QRW EHHQ FRYHUHG 7KH UHTXLUHPHQWV DUH QRW DSSOLFDEOH IRU WKH FDVH ZKHQ D GHVLJQ GDWDEDVH LV WUDQVIHUUHG LQ 9+'/ IRUPDW DV D QHWOLVW 7KH UHTXLUHPHQWV DUH WDUJHWHG WR WKH ILQDOLVHG PRGHOV UDWKHU WKDQ WKH PRGHOV GXULQJ WKH GHYHORSPHQW 7KH SXUSRVH RI WKHVH UHTXLUHPHQWV LV WR HQVXUH D KLJK TXDOLW\ RI WKH GHYHORSHG 9+'/ PRGHOV VR WKH\ FDQ EH HIILFLHQWO\ XVHG DQG PDLQWDLQHG ZLWK D ORZ HIIRUW WKURXJKRXW WKH IXOO OLIHF\FOH RI WKH PRGHOOHG KDUGZDUH 7KH UHTXLUHPHQWV DUH EDVHG RQ WKH 9+'/ VWDQGDUG WR PLQLPLVH IXWXUH PDLQWHQDQFH HIIRUWV IRU XSGDWLQJ PRGHOV +RZHYHU LW LV UHFRPPHQGHG WR NHHS WKH PRGHOV EDFNZDUG FRPSDWLEOH ZLWK 9+'/ DV IDU DV SRVVLEOH VLQFH VRPH WRROV KDYH QRW EHHQ XSGDWHG 7KH UHTXLUHPHQWV KDYH EHHQ VWUXFWXUHG LQ D JHQHUDO SDUW DSSOLFDEOH WR DOO 9+'/ PRGHOV DQG DGGLWLRQDO UHTXLUHPHQWV DSSOLFDEOH WR GLIIHUHQW NLQGV RI PRGHOV &RPSRQHQW 6LPXODWLRQ %RDUGOHYHO VLPXODWLRQ DQG 6\VWHPOHYHO VLPXODWLRQ ,Q DGGLWLRQ 9+'/ FRGH H[DPSOHV KDYH EHHQ LQFOXGHG WR SURYLGH VRPH JXLGDQFH WR WKH 9+'/ GHYHORSHU $SSOLFDEOH 'RFXPHQWV $' ,((( 6WDQGDUG 9+'/ /DQJXDJH 5HIHUHQFH 0DQXDO ,((( 6WG -XQH $' ,((( 6WDQGDUG 0XOWLYDOXH /RJLF 6\VWHP IRU 9+'/ 0RGHO ,QWHURSHUDELOLW\ VWGBORJLFB ,((( 6WG 0D\ 5HIHUHQFH 'RFXPHQWV 5' ,((( 6WDQGDUG 9+'/ /DQJXDJH 5HIHUHQFH 0DQXDO ,((( 6WG 0DUFK 5' ,((( 6WDQGDUGV ,QWHUSUHWDWLRQV ,((( 6WDQGDUG 9+'/ /DQJXDJH 5HIHUHQFH 0DQXDO ,((( 6WG ,17 RU ODWHVW YHUVLRQ 5' 6WDQGDUG 9,7$/ $6,& 0RGHOLQJ 6SHFLILFDWLRQ ,((( 6WG 5' 6WDQGDUG 9+'/ 0DWKHPDWLFDO 3DFNDJHV ,((( 6WG 3 5' 6WDQGDUG 9+'/ 6\QWKHVLV 3DFNDJHV ,((( 6WG 3 CENELEC TC217/WG2 report 2.148 Second draft, 23 February 1997 5(48,5(0(176 )25 $// .,1'6 2) 02'(/6 *HQHUDO 7KH PRGHOV VKDOO EH ZULWWHQ LQ 9+'/ DV GHILQHG LQ $' $OO FRGH VKDOO EH ZULWWHQ ZLWK WKH LQWHQW WR EH VLPXODWRU LQGHSHQGHQW DV IDU DV SRVVLEOH XVLQJ DOO DYDLODEOH LQIRUPDWLRQ WKH XVH RI QRQVWDQGDUG FRQVWUXFWV RU VXSHUVHWV LV QRW DOORZHG 1RWH WKDW WKH FRGH LV QRW QHFHVVDULO\ FRUUHFW MXVW EHFDXVH LW FRPSLOHV DQG H[HFXWHV RQ RQH VLPXODWRU ZLWKRXW HUURUV PDQ\ WRROV GR QRW GHWHFW DOO SRVVLEOH HUURUV ,Q FDVH RI DPELJXLWLHV WKH LQWHUSUHWDWLRQV LQ 5' VKDOO KDYH SUHFHGHQFH 7KH PRGHOV VKDOO EH FRGHG VR UXQWLPH HUURUV FDQ QHYHU RFFXU GXH WR PRGHO LWVHOI VXFK DV GLYLVLRQ E\ ]HUR UDQJH HUURU HWF $OO PRGHOV VKDOO EH FRPSOLDQW ZLWK 9+'/ DV GHILQHG LQ $' 7R DOORZ EDFNZDUG FRPSDWLELOLW\ ZLWK 9+'/ WKH 9+'/ FRGH VKDOO DV IDU DV SRVVLEOH DOVR EH FRPSOLDQW ZLWK 5' 7KH EHQHILWV RI XVLQJ WKH QHZ IHDWXUHV RI 9+'/ VKRXOG EH DVVHVVHG EHIRUH EHLQJ HPSOR\HG $OO GRFXPHQWDWLRQ LGHQWLILHUV FRPPHQWV PHVVDJHV ILOH QDPHV HWF VKRXOG XVH RU EH EDVHG RQ WKH (QJOLVK ODQJXDJH ([FHSWLRQDOO\ PRGHOV RQO\ LQWHQGHG IRU ORFDO RU QDWLRQDO XVDJH IRU WKH IRUHVHHDEOH IXWXUH PLJKW XVH WKH ORFDO ODQJXDJH ZKHQ EHQHILFLDO 7KH FRGH VKDOO EH FRQVLVWHQW LQ ZULWLQJ VW\OH DQG QDPLQJ FRQYHQWLRQV 7KH 9+'/ UHVHUYHG ZRUGV VKDOO DSSHDU LQ XQLIRUP FDVLQJ WKH\ VKDOO HLWKHU DOO DSSHDU LQ ORZHUFDVH RU DOO DSSHDU LQ XSSHUFDVH ,W LV UHFRPPHQGHG WR ZULWH LGHQWLILHUV XVLQJ PL[HG FDVLQJ 7KH VDPH FRQVLVWHQW FDVLQJ VKDOO EH XVHG LQ DOO WKH FRGH RI D PRGHO ZLWK WKH H[FHSWLRQ RI VWDQGDUG SDFNDJHV 7KH FRGH VKDOO EH FRQFLVH DQG XVH WKH PRVW VWUDLJKWIRUZDUG DQG LQWXLWLYH FRQVWUXFWV 8VLQJ PRUH FRGH WKDQ QHFHVVDU\ OHDGV WR SRRUHU UHDGDELOLW\ DQG ORZHU VLPXODWLRQ VSHHG :KHUHYHU SRVVLEOH XQXVHG SDUWV RI WKH FRGH VKDOO EH UHPRYHG 7HPSRUDU\ DVVLJQPHQWV VKRXOG QRW EH XVHG XQOHVV QHFHVVDU\ 7KH FRGH VKDOO HPSKDVLVH JRRG UHDGDELOLW\ ,W VKDOO FRQWDLQ PD[LPXP RQH VWDWHPHQW SHU OLQH DQG KDYH PD[LPXP FKDUDFWHUV SHU OLQH 7KH FRGH VKDOO EH SURSHUO\ LQGHQWHG IRU H[DPSOH XVLQJ VSDFH FKDUDFWHUV WKH LQGHQWDWLRQ VKDOO EH WKH VDPH LQ DOO WKH FRGH 7KH 7$% FKDUDFWHU VKDOO QRW EH XVHG EHLQJ HQYLURQPHQW GHSHQGHQW 5HODWHG FRQVWUXFWV VKRXOG EH JURXSHG WRJHWKHU DQG WKHVH JURXSV VKRXOG EH VHSDUDWHG HJ XVLQJ EODQN OLQHV RU OLQHV PDGH RI GDVKHV ZKHUH WKLV LQFUHDVHV WKH UHDGDELOLW\ ,GHQWLILHUV FRPPHQWV HWF VKRXOG EH DOLJQHG YHUWLFDOO\ ZKHUH WKLV LPSURYHV WKH UHDGDELOLW\ $XWRPDWLFDOO\ JHQHUDWHG 9+'/ PRGHOV IRU H[DPSOH IURP VFKHPDWLFV RU IURP 6WDWH 0DFKLQH GLDJUDPV RIWHQ KDYH SRRU UHDGDELOLW\ %HIRUH GHFLGLQJ WR XVH DXWRPDWLFDOO\ JHQHUDWHG FRGH LQ D SDUWLFXODU FDVH WKH LQWHURSHUDELOLW\ DQG PDLQWHQDQFH DVSHFWV QHHG EH DVVHVVHG DV WKH PDVWHU GHVLJQ GHVFULSWLRQ ZLOO WKHQ EH LQ WKH LQWHUQDO IRUPDW RI WKH WRRO XVHG UHTXLULQJ DOO LQWHUDFWLQJ XVHUV WR KDYH WKH VDPH WRRO )XUWKHUPRUH WKH ORQJ WHUP DYDLODELOLW\ RI WRROV EHLQJ DEOH WR UHDG WKLV SDUWLFXODU IRUPDW VKRXOG EH HYDOXDWHG Second draft, 23 February 19979 CENELEC TC217/WG2 report 2.14 1DPHV 0HDQLQJIXO QRQFU\SWLF LGHQWLILHU QDPHV VKDOO EH XVHG EDVHG RQ WKH (QJOLVK ODQJXDJH ([FHSWLRQDOO\ PRGHOV RQO\ LQWHQGHG IRU ORFDO RU QDWLRQDO XVDJH IRU WKH IRUHVHHDEOH IXWXUH PLJKW XVH WKH ORFDO ODQJXDJH ZKHQ EHQHILFLDO 7KH VDPH LGHQWLILHU QDPH DV IRU WKH DFWXDO KDUGZDUH DQG DV LQ WKH GDWD VKHHW RU VLPLODU GRFXPHQWDWLRQ VKDOO EH XVHG )RU VLJQDOV DQG YDULDEOHV WKDW DUH DFWLYH ORZ WKLV VKDOO EH FOHDUO\ LQGLFDWHG E\ WKHLU QDPH IRU H[DPSOH E\ VXIIL[LQJ B1 DV LQ 5HVHWB1 ,Q FDVH D QDPH ZRXOG QRW EH OHJDO 9+'/ LW VKRXOG EH FORVH WR WKH RULJLQDO QDPH DQG D FRPPHQW VKRXOG EH LQFOXGHG IRU FODULILFDWLRQ 7KH 9+'/ H[WHQGHG LGHQWLILHUV DQ\ VWULQJ HQFORVHG E\ WZR ? FKDUDFWHUV VKRXOG EH XVHG ZLWK SUHFDXWLRQ VHH DOVR VHFWLRQ RQ WKH XVDJH RI WKH QHZ IHDWXUHV RI 9+'/ $ QDPH VKRXOG LQGLFDWH WKH SXUSRVH RI WKH REMHFW DQG QRW LWV W\SH ([DPSOH DQ HLJKWELW ORDGDEOH FRXQWHU XVHG IRU DGGUHVVLQJ VKRXOG EH FDOOHG $GGUHVV&RXQWHU LWV SXUSRVH UDWKHU WKDQ &RXQW/RDG LWV W\SH 7KH QDPLQJ FRQYHQWLRQ HJ KRZ DFWLYH ORZ DQG LQWHUQDO VLJQDOV DUH LQGLFDWHG LI UHJLVWHUV DUH LQGLFDWHG ZLWK D VSHFLDO VXIIL[ HWF VKRXOG EH GRFXPHQWHG LQ WKH ILOH KHDGHU IRU HDFK ILOH ,W LV UHFRPPHQGHG WR ZULWH LGHQWLILHUV XVLQJ PL[HG FDVLQJ ZLWK FRQVLVWHQW FDVLQJ LQ DOO WKH FRGH 8QGHUVFRUH FKDUDFWHUV PD\ EH XVHG WKRXJK H[FHVVLYH XVDJH ¤ VXFK DV PXOWLSOH RFFXUUHQFHV LQ RQH LGHQWLILHU ¤ VKRXOG EH DYRLGHG ,W LV UHFRPPHQGHG WR XVH OHVV WKDQ FKDUDFWHUV LQ WKH QRUPDO FDVH WKRXJK WKH QXPEHU RI FKDUDFWHUV XVHG IRU DQ LGHQWLILHU VKDOO QHYHU H[FHHG GXH WR DQ 1)6 OLPLWDWLRQ IRU ILOH QDPHV 7KH