Sha256: b9a171db3965d6c26a69de51ade2b1f59f7b0d31ebc7a4488e41392417553e2a
Contents?: true
Size: 385 Bytes
Versions: 100
Compression:
Stored size: 385 Bytes
Contents
require 'HDLRuby' configure_high system :dadz do input :clk,:res signed[31..0].input :a signed[31..0].output :dadz signed[63..0].inner :tmp_dadz par(clk.posedge,res.posedge)do hif(res==_1)do tmp_dadz<=0 end helse do tmp_dadz<=(_00000001000000000000000000000000-a)*a end end dadz<=tmp_dadz[55..24] end dadz :dadzI puts dadzI.to_low.to_yaml
Version data entries
100 entries across 100 versions & 1 rubygems