Issue #342
verilator does not allow floating point number in defparam
| Status: | Closed | Start date: | 04/23/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Wilson Snyder | % Done: | 0% |
|
| Category: | Unsupported | |||
| Target version: | - |
Description
Altera's DDR3 IP contains the following line:
defparam controller_phy_inst.ALTDQDQS_INPUT_FREQ = 533.0;
verilator errors out:
ddr3/altera/rtl/ddr3_mf_0002.v:324: syntax error, unexpected FLOATING-POINT NUMBER, expecting TYPE-IDENTIFIER
modelsim compiles ok.
History
Updated by Wilson Snyder about 2 years ago
- Status changed from New to WillNotFix
- Assignee set to Wilson Snyder
Unfortunately I don't think will be supported until floating point numbers are supported, which is tracked in bug233.
I thought about just converting any .0's to integers, but that can cause some pretty confusing problems as the Verilog rules about when a number is real or not would be mis-invoked (since the parameter would be an integer instead of a real.)
Updated by Wilson Snyder almost 2 years ago
- Status changed from WillNotFix to Closed
Floating point is now supported.
Also available in: Atom
![[logo]](/img/veripool_small.png)