Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Re: mixed Verilog/VHDL design

 
Thread Tools Search this Thread
Old 07-08-2004, 11:59 AM   #1
Default Re: mixed Verilog/VHDL design


"botao" <> wrote in message news:<cch877$n40$>...
> Have a tough problem ...
>
> I need to compare 2 components with the same interface, one component is
> implemented in VHDL, the other is in Verilog.
> I compiled (using modelsim if it matters) the VHDL one into VHDL_LIB, and
> the Verilog one into VERILOG_LIB, then I am planning to code up a top level
> testbench in Verilog, something like
>
> comp u_vhdl (clk, ...); // want to use the comp in VHDL_LIB
> comp u_verilog (clk, ...); // want to use the comp in VERILOG_LIB
>
>
> how do I exactly do this in Verilog? I know in VHDL one can do this as
>
> u_vhdl: ENTITY VHDL_LIB.comp ...
>
> but I have to use Verilog this time.
>
> thanks,
>
> ---Lee


I believe that if you use Verilog 2001 configurations, ModelSim
supports referencing components from both Verilog and VHDL libraries.


nemgreen
  Reply With Quote
Old 07-08-2004, 03:23 PM   #2
ALuPin
 
Posts: n/a
Default Re: mixed Verilog/VHDL design
> I believe that if you use Verilog 2001 configurations, ModelSim
> supports referencing components from both Verilog and VHDL libraries.


As far as you do not use OEM versions of Modelsim ... isn't it?


ALuPin
  Reply With Quote
Old 07-08-2004, 05:19 PM   #3
botao
 
Posts: n/a
Default Re: mixed Verilog/VHDL design

"ALuPin" <> wrote in message
news: om...
> > I believe that if you use Verilog 2001 configurations, ModelSim
> > supports referencing components from both Verilog and VHDL libraries.

>
> As far as you do not use OEM versions of Modelsim ... isn't it?


I do have the full featured version ... Not using Verilog 2001 yet, can you
guys poing me to any webpage which explains the configuration thing?

---Lee




botao
  Reply With Quote
Old 05-03-2005, 03:49 AM   #4
Rob Dekker
 
Posts: n/a
Default Re: mixed Verilog/VHDL design

"botao" <> wrote in message news:ccjs6o$jd8$...
>
> "ALuPin" <> wrote in message
> news: om...
>> > I believe that if you use Verilog 2001 configurations, ModelSim
>> > supports referencing components from both Verilog and VHDL libraries.

>>
>> As far as you do not use OEM versions of Modelsim ... isn't it?

>
> I do have the full featured version ... Not using Verilog 2001 yet, can you
> guys poing me to any webpage which explains the configuration thing?
>


You should not need to use configurations to get this simulated.
Configurations in Verilog are extremely confusing.

If the vhdl entity is compiled (with vcom) in the same library as you compile your verilog design (with vlog),
then I believe that it does get picked up by name by ModelSim.

Another way to go is to write the top level module in VHDL.
There you can use a component configuration to link the instance to the Verilog module.

Or just compile everything in one library, and then there is certainly no dual-language linking problem.

Rob

> ---Lee
>
>
>





Rob Dekker
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Physical sythesis tool PALAC is not supported by Formal Verification tool Conf bbiandov Software 0 12-22-2008 05:25 AM
Sewing, Embroidery & SignMaking Software.. embsupply Software 0 10-02-2007 04:29 PM
Sewing, Embroidery & SignMaking Software.. embsupply Software 0 08-14-2007 04:01 PM
network design help....... bunty4u The Lounge 1 04-08-2007 04:39 AM
Re: Reference Material On Server Chassis Design? AG A+ Certification 0 01-30-2004 06:12 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46