barrel shifter

H

Hendrik Greving

Guest
Hi

I can perfom a << b in Verilog. But if I make SHL(a,b) (a,b = unsigned)
I get errors. Is it possible to define barrel shifters as easy as in
Verilog?

Thanks for help.

Regards,
Hen
 
Hendrik Greving wrote:

I can perfom a << b in Verilog. But if I make SHL(a,b) (a,b = unsigned)
I get errors.
numeric_std has:

function SHIFT_LEFT (ARG: UNSIGNED; COUNT: NATURAL) return UNSIGNED;


-- Mike Treseler
 

Welcome to EDABoard.com

Sponsor

Back
Top