cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
5,393 Views
Registered: ‎02-27-2013

Doubt in Verilog code for delay. Urgent reply needed

Respected sir I had made a diagram for unit delay using Simulink. Then I generated a verilog code using Xilinx.I had enabled the create testbench option in the system generator. I wanted to know which is the main code and which is the test bench code. I am attaching u the screenshots of them. I request u to see them and reply me.

ss1.pngss1.png

0 Kudos
7 Replies
Highlighted
Xilinx Employee
Xilinx Employee
5,381 Views
Registered: ‎08-02-2011

Can you post larger screenshots?
www.xilinx.com
Highlighted
5,369 Views
Registered: ‎02-27-2013

ok sir i sending again.after genrating code and looking waveform we are not able to identifiy which is my  out put.

just tell me which file contain my main program and which fille contain testbench.ss1.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ss2.png

ss1.png
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
5,360 Views
Registered: ‎08-02-2011

Looks like untitled_tb.v is the testbench, untitled.v is the code, untitled_cw.v is the clock wrapper. If you include the .sgp file in an ISE project, it should grab everything for you automatically, though.

www.xilinx.com
0 Kudos
Highlighted
5,352 Views
Registered: ‎02-27-2013

thanks for giving information i am really happy but sir as u said there is .sgp file i didn't fing in my image

 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
5,349 Views
Registered: ‎08-02-2011

It's that 'untitled_cw.sgp'. Its the one above that says 'Xilinx System Generator Project'
www.xilinx.com
0 Kudos
Highlighted
5,343 Views
Registered: ‎02-27-2013

sir i had design 3 tap iir low pass fiter  direct form-2 and coefficient directly genrating from fda tool and assign in my xilinx constant block but while realizing filter model it show 3order and 2 section but i dont want be in 2 section i need to be in only one section as per figure (which i had  send) and i dont know which coefficient belong to which side(either left side or ridht side) i am sending snapshot just check and reply....thanks for helping me lot5.png1.png2.png3.png4.png

Tags (1)
0 Kudos
Highlighted
5,322 Views
Registered: ‎02-27-2013

please solve this problem

 

0 Kudos