Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

vhdl component

Hi

 

i want to create a vhdl based component and simulate it on a circuit with some analog devices for example (to test co simulation in multisim). i tried to read this tutorial for creating a simple 1 bit adc component => http://zone.ni.com/devzone/cda/tut/p/id/5653

and followed steps to simulate the created component but it does not work at all..when ading some analog component like power source to the circuit, i get errors like :

 

------ Checking SPICE netlist for Design1 - vendredi 9 mars 2012, 17:16:53 ------

Error message from simulation: ERROR - node $1 cannot be both analog and digital

Error message from simulation: EVTinit: Unknown error code

======= SPICE Netlist check completed, 0 error(s), 0 warning(s) =======

.......

   

i use multivhdl for creating the .vx file needed in component tool wizard

and multisim 12.0

 

 

note: in component tool wizard when multisim ask for the .vx file i try to browse and load the .vx file but i get a window saying "Spice model must be a text file", so i typed ".model cpld d_vhdl(vhdl_file="C:\......vx") in model data field and i did not use the button for importing the .vx file to bypass this error message

 

any tutorial for creating a vhdl based component and simulate it in multisim 12 will be great

0 Kudos
Message 1 of 3
(4,647 Views)

Hi Max,

 

Did you read this one ?
http://zone.ni.com/devzone/cda/tut/p/id/6369

 

Regards,

 

Message 2 of 3
(4,624 Views)

Using the component wizard in Multisim you can create a VHDL component in 9 steps. Select the "Simulation and PLD export" for this example name the component Full adder, the function is a high speed 4-bit fuller Adder IC with carry out feature.

Step 1.JPG

 

Step 2

Step 2.JPG

Step 3

Step 3.JPG

Step 4

Step 4.JPG

 

Step 5

Step 5.JPG

Step 6

Step 6.JPG

 

Step 7

Step 7.JPG

 

Step 8

Step 8.JPG

 

 

Step 9

Step 9.JPG

 

 

 

To view model files and detailed reports, right click an existing component.

View component modelView component model

 

If this post helped you in any way please leave Kudos 🌟

Message 3 of 3
(1,610 Views)