Use uio[1:0] to select the active micro-tile project.
The micro tiles test module is a simple module that demonstrates the use of the micro tile interface.
It has two modes of operation:
rst_n
is low).rst_n
is high).The counter is an 8-bit counter that increments on every clock cycle, and resets when rst_n
is low.
rst_n
low and observe that the input pins (ui_in
) are output on the output pins (uo_out
).rst_n
high and observe that the counter is output on the output pins (uo_out
).How to build instructions in README.md of tt08-micro-wokwi-doodle
Picture of circuit also in README.md
I don't know how it works, it is a doodle.
The aim is to see if a random doodle can be made to count on the 7SEG.
Maybe it can, maybe it can't, let the truth tables work it out.
Send all possible input combinations to the project and see what happens.
It has never been tested to find out if it is possible to observe a full set of 7SEG font states at the output.
None, just the standard Tiny Tapeout PCB.
On ui_in
the desired frequency is set. The hightest output frequency is the clock divided by $2^{21} / (2^8 - 1)$. The lowest possible frequency is the clock divided by $2^{21}$.
First a phase accumulator is used to generate the sawtooth. The resulting waveform is then converted into a PDM stream in a second stage.
This generated PDM datastream is output via uo_out[7]
.
Connect the audio Pmod to the output ports or any other low pass filter with a speaker to uo_out[7]
.
Then configure the clock to a meaningfull frequency (e.g. 50 MHz for frequencies between 6 kHz and 24 Hz).
Finally set the ui_in
pins to the desired frequency (= clk / $2^{21}$ * ui_in
). After applying the reset, the sawtooth will be generated.
The player can walk around the maze, showing the adjacent walls on the 7-segment display.
Use the first four inputs to move up, down, left or right.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | in[0] | out[0] | sel[0] |
1 | in[1] | out[1] | sel[1] |
2 | in[2] | out[2] | |
3 | in[3] | out[3] | |
4 | in[4] | out[4] | |
5 | in[5] | out[5] | |
6 | in[6] | out[6] | |
7 | in[7] | out[7] |