Home › Forums › MagCAD Support › HDL Models › iNML file(.vhdl) not able to run behavioral code
Tagged: iNML, simulation
- This topic has 6 replies, 3 voices, and was last updated 6 years, 9 months ago by Umberto.
-
AuthorPosts
-
March 22, 2018 at 6:32 pm #1388Divyang ThakkarParticipant
INFO:HDLCompiler:1061 - Parsing VHDL file "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/SumCarry3/SumCarry3_entity.vhd" into library work ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/SumCarry3/SumCarry3_entity.vhd" Line 1: Syntax error near "iNML_custom_SumCarry3". INFO:HDLCompiler:1061 - Parsing VHDL file "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/SumCarry3/library_inml.vhd" into library work ERROR:ProjectMgmt - 1 error(s) found while parsing design hierarchy.
Can you please guide me to run the .vhdl of iNML technology?
- This topic was modified 6 years, 9 months ago by Fabrizio. Reason: Please use code tags when posting log messages
March 22, 2018 at 9:27 pm #1390FabrizioModeratorDear Divyang,
your are trying to compile the “entity file”, which doesn’t contain useful information for the simulation. It should not be used as explained within the user guide.
The required files for the iNML simulation are:
– <circuit_name>.vhd
– library_pnml.vhd
– <circuit_name>_TB.vhdFabrizio
- This reply was modified 6 years, 9 months ago by Fabrizio.
March 27, 2018 at 5:30 pm #1405Divyang ThakkarParticipantI am creating a Half Adder which has 2 inputs: X0 and X1.
After Exporting the HalfAdder.qll file I am not getting the library_pnml.vhd file in the VHDL folder; Althought he export was successful and the vhdl file was generated.On Including the files:
– <circuit_name>.vhd
– library_inml.vhd
– <circuit_name>_TB.vhd
And giving the test bench input for HalfAdder file I am getting the following error:INFO:HDLCompiler:1061 - Parsing VHDL file "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/HalfAdder/HalfAdder_TB.vhd" into library work ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/HalfAdder/HalfAdder_TB.vhd" Line 88: Syntax error near "X0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/HalfAdder/HalfAdder_TB.vhd" Line 89: Syntax error near "'". ERROR:ProjectMgmt - 2 error(s) found while parsing design hierarchy.
The Input Test Bench is as follows:
--insert your input stimuli here wait for 10us; assign X0<=1'b0; assign X1<=1'b1;
- This reply was modified 6 years, 9 months ago by Fabrizio. Reason: Please use code tags to add vhdl code or log messages
Attachments:
March 28, 2018 at 4:38 am #1410Divyang ThakkarParticipantSir can you please elaborate on how can I use code tags to add vhdl codes or log messages
One more thing I am not getting the following file:
library_pnml.vhd
I am working on iNML technology then why do we need to add the pnml file?
March 28, 2018 at 3:36 pm #1411UmbertoModeratorHi Divyang,
you are right. library_pnml.vhd is not needed, the files needed for simulation are
– <circuit_name>.vhd
– library_inml.vhd
– <circuit_name>_TB.vhdBack to your error, it seems you are writing a sort of mixed VHDL/VERILOG 🙂
Please, be careful of writing correct VHDL statement, like the one in the example of “stimuli process” in the automatically generated testbench.in1<='0'; in2<='0'; wait for 30 ns;
Umberto
March 31, 2018 at 6:04 pm #1418Divyang ThakkarParticipantYes, Sir you were right. I have rectified that error and now it is working fine.
In my design of Compressor, I need to input 0 at certain places when I am doing it I am getting error while uploading the necessary files.
The error reads as:
INFO:HDLCompiler:1061 - Parsing VHDL file "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" into library work ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" Line 61: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" Line 62: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" Line 65: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" Line 66: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" Line 95: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" Line 96: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" Line 97: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final.vhd" Line 98: Syntax error near "0". INFO:HDLCompiler:1061 - Parsing VHDL file "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" into library work ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 69: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 70: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 73: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 74: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 101: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 102: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 103: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 104: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 460: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 461: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 464: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 465: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 494: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 495: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 496: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 497: Syntax error near "0". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 834: Syntax error near "=>". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 836: Syntax error near "=>". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 850: Syntax error near "=>". ERROR:HDLCompiler:806 - "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/Final_TB.vhd" Line 851: Syntax error near "=>". INFO:HDLCompiler:1061 - Parsing VHDL file "C:/Users/Divyang Thakkar/MagCADFiles/VHDL/Final/library_inml.vhd" into library work ERROR:ProjectMgmt - 28 error(s) found while parsing design hierarchy.
Sir can you please guide me on how to input 0 in iNML technology.
- This reply was modified 6 years, 9 months ago by Fabrizio. Reason: Please use code tags when posting log messages
April 4, 2018 at 10:23 am #1420UmbertoModeratorHi Divyang,
please do not modify the automatic generated VHDL file. The easiest way to input a fixed ‘0’ in a iNML design is to place an input pin and then use the testbench to force the value. You should give a mnemonic name to that input, such “fixed_0” and then assign the value 0 in the testbench.
The other errors should be simple syntax errors. Please have a look to the VHDL cookbook for help.
Umberto
-
AuthorPosts
- The topic ‘iNML file(.vhdl) not able to run behavioral code’ is closed to new replies.