Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Suggest me a good Verilog compiler

Status
Not open for further replies.

mr_byte31

Full Member level 5
Joined
Oct 19, 2005
Messages
295
Helped
10
Reputation
20
Reaction score
8
Trophy points
1,298
Activity points
3,241
elslamo alikom all
i am learning now verilog
and i tried xilinx 7.1 (ISE 7.1) as a compiler
i found some primitives not found in it such as "pullup" or "nmos or pmos"
so i downloaded the new one ->10.1 but it needs 4G to be installed
i need a very good compiler that can help me in programing
 

verilog compiler

Model Sim-XE a free download in Xilinx website
 

verilog compiler

the program i write is
//cmos inverter switch network
module invert(out, in);
input in;
output out;
supply1 vdd;
supply0 gnd;
pmos p1 (out, vdd, input);
nmos n1 (out, gnd, input);
endmodule

and the errors
Line 19: ERROR, syntax error near 'pmos p1 (out, vdd, input)'.
Line 20: ERROR, syntax error near 'nmos n1 (out, gnd, input)'.

i compiled it with FPGA advantage 7.2
 

verilog compiler

I think the problem is that the Xilinx tools are dedicated to FPGAs. Within FPGAs, there are no user defineable transistors and no pullups that can be instantiated on internal signals within the FPGA. That is why the primatives do not exist. They have no meaning for these parts.
FPGAs are often described as a "sea of gates". They contain LUTs, look up tables, and flip-flops. Some FPGAs have other special features built in today like processor cores and memories. However, these are special cases. The only things you will find in all FPGAs are LUTs and flops.
Whatever verilog code you write must be sythesizeable to LUTs and flops or the Xilinx tools will not be able to understand it.
 

verilog compiler

As banjo described, the pmos and nmos switches are generally not supported in FPGAs or FPGA tools. However, the ModelSim simulator supports them fine.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top