2015-06-27 20:10:45 -04:00
|
|
|
/*
|
|
|
|
This is free and unencumbered software released into the public domain.
|
|
|
|
|
|
|
|
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
|
|
distribute this software, either in source code form or as a compiled
|
|
|
|
binary, for any purpose, commercial or non-commercial, and by any
|
|
|
|
means.
|
|
|
|
*/
|
|
|
|
|
2015-10-30 10:52:40 -04:00
|
|
|
MEMORY {
|
2015-10-30 10:58:29 -04:00
|
|
|
/* the memory in the testbench is 64k in size;
|
|
|
|
* set LENGTH=48k and leave at least 16k for stack */
|
|
|
|
mem : ORIGIN = 0x00000000, LENGTH = 0x0000c000
|
2015-10-30 10:52:40 -04:00
|
|
|
}
|
|
|
|
|
2015-06-06 08:01:37 -04:00
|
|
|
SECTIONS {
|
|
|
|
.memory : {
|
|
|
|
. = 0x000000;
|
|
|
|
start*(.text);
|
|
|
|
*(.text);
|
|
|
|
*(*);
|
|
|
|
end = .;
|
2019-04-27 06:37:35 -04:00
|
|
|
. = ALIGN(4);
|
2015-10-30 10:52:40 -04:00
|
|
|
} > mem
|
2015-06-06 08:01:37 -04:00
|
|
|
}
|