Commit d20fa15c authored by twlostow's avatar twlostow

fixed 'load' signal bug in SLV-type RW/RW registers

git-svn-id: http://svn.ohwr.org/wishbone-gen@19 4537843c-45c2-4d80-8546-c3283569414f
parent 54091524
......@@ -361,7 +361,7 @@ function gen_hdl_code_slv(field, reg)
field.acklen = 1;
field.read_code = { va(vir("rddata_reg", field), prefix.."_i"); };
field.write_code = { va(prefix.."_load_o", 0); };
field.write_code = { va(prefix.."_load_o", 1); };
field.extra_code = { va(prefix.."_o", vir("wrdata_reg", field)); };
field.ackgen_code_pre = { va(prefix.."_load_o", 0);};
field.ackgen_code = { va(prefix.."_load_o", 0); };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment