Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

up‐down*counter code # 2 !!!!!

Status
Not open for further replies.

mirkK

Newbie level 1
Newbie level 1
Joined
Dec 15, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
6
i tried to write anather code for up‐down*counter .....
when i simulate it i got the same value it does not change
module UpDown( reset,up_down,clk,a2g,digits);

what is the problem ?
 

Attachments

  • co.PNG
    co.PNG
    23.9 KB · Views: 69

It makes no sense to guess about simulation results without seeing the testbench or a complete simulation waveform.

The code as shown has several oddities, e.g. reg [4:0] count can't hold a value of 91. Mixing blocking and non-blocking assignments for the same variable.

The code in a previous, now deleted parallel thread also showed the modules that are missing here.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top