Sameer Srivastava
10/27/2024, 4:44 PMio_out[7:0]
for this (along with setting io_oeb[7:0]
to low). Is there anything wrong with this?
My design is a simple 8-bit CPU, and I plan to load its 16 bytes of RAM using logic analyzer inputs with a faster clock, and then switch to a slower clock, enable the CPU and view what it's doing through the 8 IO pins (connected to the CPU "output" register). I know that user_clock2
initially has the same frequency as the wishbone/cpu clock, but I don't have experience with DLLs/PLLs so I'm not sure how slow I can make it go.Mitch Bailey
10/27/2024, 5:32 PMio_out[12:5]
and tie io_oeb[12:5]
low. These gpio defaults are user configurable with verilog/rtl/user_defines.v
.Tim Edwards
10/28/2024, 1:03 AMuser_clock2
unless it is for something that is completely uncorrelated to the processor/wishbone clock, or else you will have synchronization issues unless you really know what you're doing with multiple clock domains. If you want a slow clock, then input a clock from off-chip through a GPIO or else implement a counter and divide the core clock down to the frequency you need.Sameer Srivastava
10/29/2024, 10:58 AMslowclk
reg to get a roughly 3 Hz clock from the 50MHz clock.Sameer Srivastava
11/07/2024, 12:22 PM