Clean up
This commit is contained in:
parent
7a24ee7027
commit
4a59b63151
10
README
10
README
|
@ -7,5 +7,15 @@ or external signals.
|
||||||
[> Status:
|
[> Status:
|
||||||
Early development phase
|
Early development phase
|
||||||
|
|
||||||
|
Simulation:
|
||||||
|
-tb_spi2Csr : Test Spi <--> Csr Bridge : [Ok]
|
||||||
|
-tb_TriggerCsr : Test Trigger with Csr : [Ok]
|
||||||
|
-tb_RecorderCsr : Test Recorder with Csr : [Ok]
|
||||||
|
-tb_MigScope : Global Test with Csr : [Ok]
|
||||||
|
|
||||||
|
Example Design:
|
||||||
|
-de0_nano : Generate Signals in FPGA and probe them with migScope : [Wip]
|
||||||
|
|
||||||
|
|
||||||
[> Contact
|
[> Contact
|
||||||
E-mail: florent@enjoy-digital.fr
|
E-mail: florent@enjoy-digital.fr
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# In this example, signals are generated inside generated inside the FPGA.
|
# In this example signals are generated in the FPGA.
|
||||||
# We will use migScope to record those signals it and visualize them.
|
# We will use migScope to record those signals and visualize them.
|
||||||
#
|
#
|
||||||
# Example architecture:
|
# Example architecture:
|
||||||
# ----------------------
|
# ----------------------
|
||||||
# migScope Config <-- Python Client (Host) --> Vcd Output
|
# migScope Config --> Python Client (Host) --> Vcd Output
|
||||||
# |
|
# & Trig |
|
||||||
# Arduino (Uart<-->Spi Bridge)
|
# Arduino (Uart<-->Spi Bridge)
|
||||||
# |
|
# |
|
||||||
# De0 Nano
|
# De0 Nano
|
||||||
|
|
|
@ -16,7 +16,6 @@ def term_prog(off, dat):
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
yield TWrite(off+3-i, (dat>>(8*i))&0xFF)
|
yield TWrite(off+3-i, (dat>>(8*i))&0xFF)
|
||||||
|
|
||||||
|
|
||||||
def sum_prog(off, addr, dat):
|
def sum_prog(off, addr, dat):
|
||||||
we = 2
|
we = 2
|
||||||
yield TWrite(off+3, addr%0xFF)
|
yield TWrite(off+3, addr%0xFF)
|
||||||
|
|
|
@ -134,7 +134,6 @@ class SpiMaster(PureSimulable):
|
||||||
self.transaction_cnt +=1
|
self.transaction_cnt +=1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# Csr Slave
|
# Csr Slave
|
||||||
scratch_reg0 = RegisterField("scratch_reg0", 32, reset=0, access_dev=READ_ONLY)
|
scratch_reg0 = RegisterField("scratch_reg0", 32, reset=0, access_dev=READ_ONLY)
|
||||||
|
|
Loading…
Reference in New Issue