FPGA-MAFIA / fpga_mafia

Designing a Multi-Agent Fabric Integration Architecture to run on de10-lite FPGA.
MIT License
13 stars 5 forks source link

Understand mini_core design #749

Closed roman012285 closed 1 week ago

roman012285 commented 1 week ago

./build.py -dut mini_core -test example -app - compile compile.c test ./build.py -dut mini_core -test example -app -hw -sim - compile the design (-hw flag) + simulate and elaboration (-sim flag)

abdkeb commented 1 week ago

Hi Roman,

here is the line of code we added to the exampl.c file: image

Here is the code in binary and the log of the registers: image

roman012285 commented 1 week ago

How you prove that it works, I dont see it from the tracker.

abdkeb commented 1 week ago

here i opened the tracker file in two windows the line is 17c and we can see that prior to the reg x16 was zero after it has 0xf+0xa+1 = 0x1a image

roman012285 commented 1 week ago

Great Job!