Merge branch 'master' of steve-icarus@icarus.com:git/verilog
This commit is contained in:
commit
ceef77e15f
|
|
@ -1736,7 +1736,7 @@ static void draw_lpm_add(ivl_lpm_t net)
|
|||
type = "pow.s";
|
||||
if (width > 8*sizeof(long)) {
|
||||
fprintf(stderr, "%s:%u: sorry (vvp-tgt): Signed power "
|
||||
"result must be no more than %d bits.\n",
|
||||
"result must be no more than %zu bits.\n",
|
||||
ivl_lpm_file(net), ivl_lpm_lineno(net),
|
||||
8*sizeof(long));
|
||||
exit(1);
|
||||
|
|
|
|||
|
|
@ -781,6 +781,8 @@ void vvp_shiftr::recv_vec4(vvp_net_ptr_t ptr, const vvp_vector4_t&bit)
|
|||
|
||||
vvp_arith_real_::vvp_arith_real_()
|
||||
{
|
||||
op_a_ = 0.0;
|
||||
op_b_ = 0.0;
|
||||
}
|
||||
|
||||
void vvp_arith_real_::dispatch_operand_(vvp_net_ptr_t ptr, double bit)
|
||||
|
|
|
|||
|
|
@ -921,7 +921,7 @@ void compile_arith_div(char*label, long wid, bool signed_flag,
|
|||
assert( wid > 0 );
|
||||
|
||||
if (argc != 2) {
|
||||
char *suffix = "";
|
||||
const char *suffix = "";
|
||||
if (signed_flag) suffix = ".s";
|
||||
fprintf(stderr, "%s; .arith/div%s has wrong number of "
|
||||
"symbols\n", label, suffix);
|
||||
|
|
@ -1012,7 +1012,7 @@ void compile_arith_pow(char*label, long wid, bool signed_flag,
|
|||
}
|
||||
|
||||
if (argc != 2) {
|
||||
char *suffix = "";
|
||||
const char *suffix = "";
|
||||
if (signed_flag) suffix = ".s";
|
||||
fprintf(stderr, "%s .arith/pow%s has wrong number of "
|
||||
"symbols\n", label, suffix);
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ vvp_fun_delay::vvp_fun_delay(vvp_net_t*n, vvp_bit4_t init, const vvp_delay_t&d)
|
|||
: net_(n), delay_(d), cur_vec4_(1)
|
||||
{
|
||||
cur_vec4_.set_bit(0, init);
|
||||
cur_real_ = 0.0;
|
||||
list_ = 0;
|
||||
initial_ = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1964,6 +1964,7 @@ vvp_scalar_t vvp_fun_signal8::scalar_value(unsigned idx) const
|
|||
|
||||
vvp_fun_signal_real::vvp_fun_signal_real()
|
||||
{
|
||||
bits_ = 0.0;
|
||||
}
|
||||
|
||||
double vvp_fun_signal_real::real_value() const
|
||||
|
|
|
|||
Loading…
Reference in New Issue