nesl / AutoGrader

Web frontend of Embedded Systems Auto Grader project
1 stars 0 forks source link

AutoWire AutoGrader #171

Open Klamath233 opened 6 years ago

Klamath233 commented 6 years ago

The goal of this addition is to create a wiring-free experience of assignment setup. Currently, when we set up the device, we need to re-wire all the devices. With this update, the wiring is done in software. All the pins are, instead of, wired together directly, are wired to an FPGA. The wiring is therefore effectively done by programming the FPGA. To facilitate the process, the following modules shall be implemented:

TimeString commented 6 years ago

That sounds like a plan! BTW, In the early design, we also have the wiring logic and wiring interface. As an evidence, you can see there's a HardwareTypePin declared in models.py. I guess the logic may not fit here and we eventually have to retire that portion, but just for your reference. If you can reuse it then great.

A separate comment, since the representation has to be used in both AutoGrader end and testbed end, you can modulize it so that the module can be used for both sides.

Klamath233 commented 6 years ago

I've just done the first draft of the specification of the intermediate representation. Check it out. I think it can describe a testbed on its own.

Klamath233 commented 6 years ago

I'll check out the existing part and see if it could fit.