Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
768 Views

Problem with Avalon-St for deinterlacing

Hi, 

I'm new to altera and 'm working on a de-interlacing core which is available in the Megacore wizard. 

I wanted to know if it was possible to simulate the core (in modelsim) by just writing a simple wrapper. 

I did go through the AVALON-ST protocol, and tried simulating the core. 

 

 

In my setup I have my test bench as the Source and the De-interlacing core as the Sink. The de-interlacing core was generated from the megacore function and was instantiated in the test_bench file. 

As per the Avalon-St protocol, the Sink first invokes the ready signal (din_ready), then based on the ready_latency i have to assert the valid (din_valid) from the test bench, then go along with the SOP and EOP... 

But when I tried simulating the core, the core doesn't assert the ready (din_ready) signal at all. Should i add any libraries to modelsim for simulating megacore funtions?? 

BTW I'm using BOB scan line algorithm with no buffering. 

Can anyone suggest me where I'm going wrong. 

 

Thanks and regards, 

Arthes
0 Kudos
0 Replies
Reply