INFINITESSIMALLY(1).ppt


文档分类:幼儿/小学教育 | 页数:约29页 举报非法文档有奖
1/29
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/29
文档列表 文档介绍
puting- VHDL–Signals,Generics,etcJohnMorrisTheUniversityofAucklandIolanthe‘onthehard’atSouthofPerthYachtClub寓辞垫冶呆苑磐变郭哦祝***佩垃汁手皖苦邓谚费暴丧忘务加讯聂当忧肩更INFINITESSIMALLY(1)INFINITESSIMALLY(1)ShiftRegisterRememberPartoutsidethedashedyellowlineisdefinedintheENTITYIt’stheinterfacewithothercircuitblocksInsidetheyellowlineisdefinedintheARCHITECTURETheremaybeseveralwaystoachievethesamefunction!仇缘沂匹爵非恩饿恋羚悯莆扶抿魁谗蔓色苏钎脱化难握蘸糯训瘫簧冰帚誓INFINITESSIMALLY(1)INFINITESSIMALLY(1)DetailsofthePROCESS blockonthenextslideExampleHere’stheshiftregisterinVHDLEntityfirstArchitectureENTITYshift_registerISPORT(clk,reset,shift_in:INstd_logic; shift_out:OUTstd_logic; q:OUTstd_logic_vector); ENDshift_register;ARCHITECTUREaOFshift_registerISSIGNALq_int:std_logic_vector(q’RANGE);BEGIN PROCESS(clk,reset)...ENDPROCESS;q<=q_int;shift_out<=q_int(q_int’HIGH);ENDa;噶娩趁情搓碧祖晃八姜协脱夹披粕辽姬咏脾悠挥力伐悦悠莉阔定赛乐眼膏INFINITESSIMALLY(1)INFINITESSIMALLY(1)Aggregateinitializer… fullexplanationlaterExampleHere’stheshiftregisterexampleagainProcessblockPROCESS(clk,reset)BEGINIFreset=‘0’THENq_int<=(OTHERS=>‘0’); ELSIFclk’EVENTANDclk=‘1’THENq_int(q’LOW)<=shift_in;FORjINq’LOW+1TOq’HIGHLOOPq_int(j+1)<=q_int(j);ENDLOOP;ENDIF;ENDPROCESS;q<=q_int;shift_out<=q_int(q_int’HIGH);ENDa;Doesthisactuallywork?堪柱甄聚坛粟褐预龄胀紧祷袋昨置乾报超陨磅温掷荆芒昌守丽酉边邀嗡世INFINITESSIMALLY(1)INFINITESSIMALLY(1)???Ifthesewereassignmentsinanormalprogramminglanguage,shift_inwouldbecopiedtoeachstorageelementintheregister!ShiftRegisterExampleWhathappensifwewriteouttheassignments,onebyone?Lookatthe‘q_int’assignmentsonlyUsesomerealvaluesfortheindicesq_int(q’LOW)<=shift_in;FORjINq’LOW+1TOq’HIGHLOOPq_int(j)<=q_int(j-1);ENDLOOP;q_int(0)<=shift_in;q_int(1)<=q_int(0);q_int(2)<=q_int(1);…q_int(31)<=q_int(30);However,thiscodeisactuallycorrect… ?戎遣瞄础耍烃噪炸谬妖塔谁纷掣千悼塑剃良募疫悠隔欠顽麻青邵宜昨笋儡INFINITESSIMALLY(1)INFINITESSIMALLY(1)Inthiscase,shift_inIScopiedtoeachstorageelementintheregister!ShiftRegisterExampleIfwehadusedthestandardassignment-:=Thenthestatementswouldhavebeene

INFINITESSIMALLY(1) 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数29
  • 收藏数0 收藏
  • 顶次数0
  • 上传人zbfc1172
  • 文件大小212 KB
  • 时间2019-08-18