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.

verilog to vhdl code convertion of pulse generator

Status
Not open for further replies.

vimalpandey

Newbie level 4
Joined
Aug 16, 2009
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
dehradun
Activity points
1,322
hi,
i am converting a verilog into vhdl, but i got struck at one instruction, please help me to understand what this instruction does. the instruction is as follows--
parameter DATA_WIDTH = 9
assign pulseOutSmall = {dataReg[0][DATA_WIDTH-1], // 1/4
dataReg[0][DATA_WIDTH-1],
dataReg[0][DATA_WIDTH-1],
dataReg[0][DATA_WIDTH-2:2]};
here pulseoutsmall is( output wire [DATA_WIDTH-1:0] pulseOutSmall) and dataReg is (reg [DATA_WIDTH-1:0] dataReg [0:pULSE_LENGTH-1];)

on running the code the value in the pulseoutsmall is 111000100 and value of dataReg[0] is 100010010

thanks in advance
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top