mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-20 14:15:49 +00:00
Use long long int for pyosys
This commit is contained in:
parent
72de51a1b0
commit
503b0aae20
2 changed files with 4 additions and 4 deletions
|
|
@ -273,7 +273,7 @@ RTLIL::Const::Const(const std::string &str)
|
|||
tag = backing_tag::string;
|
||||
}
|
||||
|
||||
RTLIL::Const::Const(long long val) // default width 32
|
||||
RTLIL::Const::Const(long long int val) // default width 32
|
||||
{
|
||||
flags = RTLIL::CONST_FLAG_NONE;
|
||||
char bytes[] = {
|
||||
|
|
@ -283,7 +283,7 @@ RTLIL::Const::Const(long long val) // default width 32
|
|||
tag = backing_tag::string;
|
||||
}
|
||||
|
||||
RTLIL::Const::Const(long long val, int width)
|
||||
RTLIL::Const::Const(long long int val, int width)
|
||||
{
|
||||
flags = RTLIL::CONST_FLAG_NONE;
|
||||
if ((width & 7) == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue