Proberly print vectors in binary.
This commit is contained in:
parent
63a8b4abe2
commit
1e0660522f
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#if !defined(WINNT)
|
#if !defined(WINNT)
|
||||||
#ident "$Id: display.cc,v 1.2 1998/11/10 00:48:31 steve Exp $"
|
#ident "$Id: display.cc,v 1.3 1999/01/01 01:44:40 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include "vvm.h"
|
# include "vvm.h"
|
||||||
|
|
@ -37,7 +37,9 @@ static void format_bit(ostream&os, class vvm_calltf_parm*parm)
|
||||||
os << parm->as_string();
|
os << parm->as_string();
|
||||||
break;
|
break;
|
||||||
case vvm_calltf_parm::BITS:
|
case vvm_calltf_parm::BITS:
|
||||||
os << parm->as_bits()->get_bit(0);
|
for (unsigned idx = parm->as_bits()->get_width()
|
||||||
|
; idx > 0 ; idx -= 1)
|
||||||
|
os << parm->as_bits()->get_bit(idx-1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -206,6 +208,9 @@ void Smonitor(vvm_simulation*sim, const string&name,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: display.cc,v $
|
* $Log: display.cc,v $
|
||||||
|
* Revision 1.3 1999/01/01 01:44:40 steve
|
||||||
|
* Proberly print vectors in binary.
|
||||||
|
*
|
||||||
* Revision 1.2 1998/11/10 00:48:31 steve
|
* Revision 1.2 1998/11/10 00:48:31 steve
|
||||||
* Add support it vvm target for level-sensitive
|
* Add support it vvm target for level-sensitive
|
||||||
* triggers (i.e. the Verilog wait).
|
* triggers (i.e. the Verilog wait).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue