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.

What we should do to understand the given code?

Status
Not open for further replies.

fbz

Newbie level 2
Joined
Mar 13, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
Hello everybody,

I'm a very beginner in this field. I'm supposed to modify some given code for my little assignment. I have a given code writing on VHDL. First, I studied about the main agorithm. But then, I don't know what I have to do to understand clearly the idea of the previous designer. I'm supposed to use Modelsim to see something and after that modify the interface from 32 bits to 8 bits. Of course, I have to change the RAMs too. But because I'm a very beginner so I don't know what functions in Modelsim can help me to discover quickly the old design? What I should pay attention to? How to use the testbench code?

Thanks for any help
 

carrot

Full Member level 3
Joined
Feb 23, 2004
Messages
184
Helped
9
Reputation
18
Reaction score
4
Trophy points
1,298
Location
Bangalore, India
Activity points
1,532
Hi

If possible go throught one example code with testbench provided in modelsim.
If you r able to understand the algorithm then u can code it easily.
 

ray123

Member level 3
Joined
Nov 25, 2003
Messages
60
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,288
Activity points
327
First, you should ask for uArch document to understand the function of each block.
You need to identify where is the control path and where is the data path.
To review the given design, you should start from input/output interface at top level, you need to understand clearly the purpose and timing of each I/O signals.
 

    fbz

    Points: 2
    Helpful Answer Positive Rating

fbz

Newbie level 2
Joined
Mar 13, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
Thank you very much. I will try to do that. But I still want to receive more advice.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top