Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

its a little part of my program in VHDl...

Status
Not open for further replies.

dksagra

Junior Member level 1
Joined
Jul 26, 2010
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,493
its a little part of my program in VHDl...
here A is signed and 31 downto 0, where K_temp is signed and 33 down to 0;

A :=matrix_mult_1x2_2x1 ( matrix_mult_1x2_2x2 (H,P),H_prime )+R;
K_temp := "01000000000000000000000000000000" / A;

actually error arise at K_temp because A is different from constant...

i have 2 questions
first , can i know what is the value of A....any code to drawn the value of A...
second, how can i divide this as A is not constant...
 

Firstly, use a VHDL simulator.

Secondly, the answer depends on the capabilities of your VHDL compiler. Altera Quartus is e.g. understanding divide expressions for ieee.numeric_std unsigned and signed type. Nevertheless it may be reasonable to use a pipelined divider component from a vendor library to achieve sufficient timing performance.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top