jbush001 / NyuziProcessor

GPGPU microprocessor architecture
Apache License 2.0
1.96k stars 348 forks source link

Support full hex file format (serial_load & emulator) #175

Closed jbush001 closed 5 years ago

jbush001 commented 5 years ago

The current hex file loader is simplistic. As defined in IEEE 1364-2001, section 17.2.8:

"The text file to be read shall contain only the following:

jbush001 commented 5 years ago

Currently, to support binaries that don't start at address 0 (OS kernels), the elf2hex tool in the NyuziToolchain repo takes a parameter that specifies the base address offset (-b). The @ addressing format would allow removing this parameter.

See https://github.com/jbush001/NyuziToolchain/issues/105

jbush001 commented 5 years ago

e8d4ab06c847aa303bc61aaf074285661f952a39

jbush001 commented 5 years ago

44469fc840aca830e36b7cbb91209c231c394e80