electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Synthesis Help:in verilog codes


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> Synthesis Help:in verilog codes
Author Message
aravind



Joined: 29 Jun 2004
Posts: 622
Helped: 23
Location: india


Post28 Jan 2006 4:12   

Synthesis Help:in verilog codes


Hi friends
i written one matrix multication codes using $readmemb command (reading from file.txt) .how synthesis this code?

howto write verilog code for same matrix inside of file.txt in Mem LUT or ROM.

please help me .
take same matrix multi code like 3X3 with 1X3 in verilog and reply soon
thanks
Back to top
moneychaser



Joined: 28 Aug 2004
Posts: 20


Post28 Jan 2006 19:47   

Synthesis Help:in verilog codes


$readmemb is only synthesizable with Synplify. No other tool will synthesize it as far as I know.
Back to top
anjali



Joined: 16 Aug 2005
Posts: 174
Helped: 8


Post29 Jan 2006 12:39   

Re: Synthesis Help:in verilog codes


first, have a verilog code for multiplier with i/p & o/p ports. synthesize it. then have a top level environment which passes ips from the ips.txt ( can use $readmemb ) to the netlist.
Back to top
Google
AdSense
Google Adsense




Post29 Jan 2006 12:39   

Ads




Back to top
jarhaur



Joined: 01 Feb 2006
Posts: 6


Post02 Feb 2006 7:58   

Synthesis Help:in verilog codes


Hi

The $readmemb task is not synthesisable coding.
The synthesis tool only supports RTL coding stlye but behavior coding. The behavior coding style is high level describation that is using at the verification stage.

If you wants to have a storage with default value, you may implement it by FF with asynchronus reset/set. After the reset is released, the storage will have the diresed default.

If your design is completed by the FPGA, you may use the internal ROM.

http://toolbox.xilinx.com/docsan/data/alliance/pft/pft2_4.htm
Back to top
zhustudio



Joined: 15 Jul 2002
Posts: 104
Helped: 6
Location: China


Post02 Feb 2006 13:45   

Synthesis Help:in verilog codes


There are two ways to implement your design without $readmemb.
1. Use ROM to store the matrix value and read out each value at specific address. It will need a Memory Compiler from Asic library foundry or IP from FPGA vendor. You can use Artisan memory compiler or Xillinx Coregen to generate ROM instant and give the ROM value in your txt file.
2. Use TieHi and TieLow cell to give a constant value. It will save more area than DFFs. And it will easy to be modified in Metal-edit stage in final ECO.

$readmemb can not be synthesized in common tools. So use above methods.

Good Luck Smile
Back to top
aravind



Joined: 29 Jun 2004
Posts: 622
Helped: 23
Location: india


Post02 Feb 2006 14:45   

Synthesis Help:in verilog codes


hi zhustudio
that answer im expecting . u clear me .
by i need an examples program of rom and how to import the data from rom to ram and how to portmap it.
simple example clear me more
Back to top
zhustudio



Joined: 15 Jul 2002
Posts: 104
Helped: 6
Location: China


Post02 Feb 2006 16:00   

Synthesis Help:in verilog codes


Hi aravind,
I does not have more general tutorial of ROM instance. For ASIC design, different Memory Compiler have different usage. But commonly, you will be asked to provide ROM file (txt file) to the memory compiler and it will give out simulation model, liberty, lef and GDSII files.

For FPGA, usage of Coregen, Xilinx. You can view the help. It is simple.

And you want to import data from ROM to RAM?
what does your mean? Can you describe it clearly?
I am sorry for my understanding.
Back to top
aravind



Joined: 29 Jun 2004
Posts: 622
Helped: 23
Location: india


Post02 Feb 2006 23:39   

Synthesis Help:in verilog codes


yes correct . i wanna import data from ROM to RAM.
because ROM is inside/or outside the chip. i wanna import it to RAM .and access that data from RAM.
how instancitate it. how to write code for that.
thanks
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> Synthesis Help:in verilog codes
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
converte C codes to verilog codes (3)
ISE Synthesis problem - need explanations concerning 2 codes (2)
[Req] BIST Logic Verilog Codes (1)
Combination of VHDL and Verilog codes? (3)
a question on modelsim5.7g when compiling verilog codes (2)
could vhdl + verilog codes are syntsisable ??????? (7)
How to call C tasks in Verilog source codes? (6)
8 bit ALU verilog codes are needed (3)
A-Verilog synthesis (4)
Synthesis of 'z' in verilog. (7)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS