Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

Verilog Fixed point IP help

Altera_Forum
Honored Contributor II
1,014 Views

If I were to use 8-bit Verilog fixed point arithmetic in my design in Quartus, can I simply declare the 8-bit operands such as wires and regs and start doing operations like: 

 

reg [7:0] a; 

reg [7:0] b; 

reg [15:0] c; 

 

c<=a*b; 

c<=a/b; 

c<=a+b; 

c<=a-b; 

 

Would this be valid and just work? Please help.  

 

Also can someone point to any good reference guide online or a book on fixed point tutorial/examples in Verilog.
0 Kudos
0 Replies
Reply