quartus设计交
通信号灯,分为自动,手动(可任意调节东西南北红绿灯),紧急,灭灯四种状态,自动状态下要求计时牌倒计时一个周期,红绿灯变换,重新进入下一个周期,具体要求如图一、二所示。
设置高电平进入自动模式,若直接在quartus
电路图上接高低电平,红绿灯结果
仿真正确如图三、四,但是如果用input输入高电平,红绿灯会出现没有信号的情况如图五、六所示,图七是整体电路图,在手动,紧急,灭灯状态下均正确,就是在自动模式下出现这个问题。
warning有以下几处
Warning: Tri-state node(s) do not directly drive top-level pin(s)
Warning: Converted tri-state buffer "74257:inst22|29" feeding internal logic into a wire
Warning: Converted tri-state buffer "74257:inst22|26" feeding internal logic into a wire
Warning: Converted tri-state buffer "74257:inst22|22" feeding internal logic into a wire
Warning: Converted tri-state buffer "74257:inst22|20" feeding internal logic into a wire
Warning: Always-enabled tri-state buffer(s) removed
Warning: Converted the fanout from the always-enabled tri-state buffer "74257:inst32|20" to the node "EWRED" into a wire
Warning: Converted the fanout from the always-enabled tri-state buffer "74257:inst32|22" to the node "EWGREEN" into a wire
Warning: Converted the fanout from the always-enabled tri-state buffer "74257:inst32|26" to the node "SWRED" into a wire
Warning: Converted the fanout from the always-enabled tri-state buffer "74257:inst32|29" to the node "SWGREEN" into a wire
Warning: Presettable and clearable registers converted to equivalent circuits with latches. Registers power-up to an undefined state, and DEVCLRn places the registers in an undefined state.
Warning (13310): Register "7474:inst25|9" is converted into an equivalent circuit using register "7474:inst25|9~_emulated" and latch "7474:inst25|9~latch"
Warning:
timing Analysis is analyzing one or more combinational loops as latches
Warning: Node "7474:inst25|9~latch" is a latch
Warning: Found pins functioning as undefined clocks and/or memory enables
Info: Assuming node "CP3" is an undefined clock
Info: Assuming node "AUTOAND" is a latch enable. Will not compute fmax for this pin.
Warning: Found 1 node(s) in clock paths which may be acting as ripple and/or gated clocks -- node(s) analyzed as buffer(s) resulting in clock skew
Info: Detected ripple clock "7474:inst25|10" as buffer
请问各位大佬,错在哪里,该怎么解决这个问题,谢谢
0