Forum Discussion
Altera_Forum
Honored Contributor
10 years ago7- Segments pin assignment for Cyclone IV EP4CE6E22C8
Hello: I wrote simple program to count on 7 Segments Display in my board Cyclone IV EP4CE6E22C8. module seg(
input clk,
output segA, segB, segC, segD, segE, segF, segG, segDP
);
re...
Altera_Forum
Honored Contributor
10 years agoSeems like the following part of the code will keep always the variable BCD_new at the same condition:
always @(posedge clk) if(cntovf) BCD_new <= (BCD_new==4'h9 ? 4'h0 : BCD_new+4'h1)