mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 14:23:41 +00:00
improved (fixed) conversion of real values to bit vectors
This commit is contained in:
parent
39eb347c67
commit
149fe83a8d
4 changed files with 30 additions and 11 deletions
|
@ -244,6 +244,7 @@ namespace AST
|
|||
// helper functions for real valued const eval
|
||||
int isConst(); // return '1' for AST_CONSTANT and '2' for AST_REALVALUE
|
||||
double asReal(bool is_signed);
|
||||
RTLIL::Const realAsConst(int width);
|
||||
};
|
||||
|
||||
// process an AST tree (ast must point to an AST_DESIGN node) and generate RTLIL code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue