mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Support clocking blocks (#3674)
This commit is contained in:
@@ -494,6 +494,10 @@ V3Number& V3Number::setMask(int nbits) {
|
||||
string V3Number::ascii(bool prefixed, bool cleanVerilog) const {
|
||||
std::ostringstream out;
|
||||
|
||||
if (is1Step()) {
|
||||
out << "1step";
|
||||
return out.str();
|
||||
}
|
||||
if (isDouble()) {
|
||||
out.precision(17);
|
||||
if (VL_UNCOVERABLE(width() != 64)) {
|
||||
|
||||
Reference in New Issue
Block a user