G
Gokul
Guest
I am in the process of monitoring the activity on a data bus.
The data bus is 256 bit wide.
We have data placed on this data bus and the data stays in the bus for
only one clock cycle after which the next 256 bit data is placed on
the data bus.
I need to write this 256 bit data into a file in segments of 32
bits,One by one.
For example: if a_b_c_d_e_f_g_h (placed on the bus during first
clock cycle) and
i_j_k_l_m_n_o_p (placed on the bus during
second clock cycle)
are two 256 bit data words on the bus i want it to
be written into a file as follows:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
I wanted to know file commands or system tasks to perform this
operation,as long as data is placed on the data bus and if at some
point the bus has no data on it,our file should have
..
..
..
o
p
x
x
x
x etc
Help me out with this.
The data bus is 256 bit wide.
We have data placed on this data bus and the data stays in the bus for
only one clock cycle after which the next 256 bit data is placed on
the data bus.
I need to write this 256 bit data into a file in segments of 32
bits,One by one.
For example: if a_b_c_d_e_f_g_h (placed on the bus during first
clock cycle) and
i_j_k_l_m_n_o_p (placed on the bus during
second clock cycle)
are two 256 bit data words on the bus i want it to
be written into a file as follows:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
I wanted to know file commands or system tasks to perform this
operation,as long as data is placed on the data bus and if at some
point the bus has no data on it,our file should have
..
..
..
o
p
x
x
x
x etc
Help me out with this.