rasmusto / vtr-verilog-to-routing

Automatically exported from code.google.com/p/vtr-verilog-to-routing
0 stars 0 forks source link

ODIN II: Instantiating more than one module with dual_port_ram inside fails #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./odin_II.exe -V test2.v -a sample_arch.xml
2.
3.

What is the expected output? What do you see instead?
Instantiating more than one instance of a module, which contains a 
dual_port_ram inside, should work.
Instead, ODIN II errors out with "Missing declaration of this symbol 
dual_port_ram"

Workaround is to copy-and-paste the module in question with another name. See 
attached for example.

What version of the product are you using? On what operating system?
ODIN II version 0.1 (from VTR1.0rc1) under 64-bit Linux

Please provide any additional information below.

Original issue reported on code.google.com by eddie.h...@gmail.com on 20 Jan 2012 at 1:01

Attachments:

GoogleCodeExporter commented 9 years ago
Oops. Missing architecture file (taken from VPR directory)

Original comment by eddie.h...@gmail.com on 20 Jan 2012 at 1:02

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jeffrey....@gmail.com on 20 Jan 2012 at 6:17

GoogleCodeExporter commented 9 years ago
Thank you for discovering this issue. 

The problem stems from the fact that Odin II currently fails to prefix hard 
blocks with the module instance name and simply uses the module name. The 
original author of this code must have neglected to include the module instance 
name when naming the hard blocks. 

I've got someone looking into it, so it should be fixed soon. 

Original comment by andy16...@gmail.com on 18 Apr 2012 at 12:17