Forum Discussion
27 Replies
- Altera_Forum
Honored Contributor
i don't think its public, what are you trying to do?
- Altera_Forum
Honored Contributor
It's not documented for a reason..... hint you don't want to be poking around in there.
- Altera_Forum
Honored Contributor
Because CusP is a better tool than SoPC and Qsys.
- Altera_Forum
Honored Contributor
how did you arrive at that conclusion? if you look around the forum you'll find that cusp isn't supported and that Altera is porting cusp IP to HDL
- Altera_Forum
Honored Contributor
CusP and SOPC Builder/Qsys have different purposes so it's a bit odd to even compare them. CusP is only on the ACDS for legacy reasons, it is not being maintained so I wouldn't recommend using it.
- Altera_Forum
Honored Contributor
But Quartus recognizes CusP component and compiles.
- Altera_Forum
Honored Contributor
CusP component is working, I tested on DE0 Nano.
example: cusp_test4.c # include <alt_cusp.h> SC_MODULE(cusp_test4) { ALT_GPO<sc_bv<8>> led; void behaviour() { int state = 0; while(1) { for (state = 0; state <= 0xfff; state++) { if (state == 0x1fff) { led.write(1); } else if (state == 0x3ff) { led.write(2); } else if (state == 0x5ff) { led.write(4); } else if (state == 0x7ff) { led.write(8); } else if (state == 0x9ff) { led.write(16); } else if (state == 0xbff) { led.write(32); } else if (state == 0xdff) { led.write(64); } else if (state == 0xfff) { led.write(128); } } } } SC_CTOR(cusp_test4) { SC_THREAD(behaviour); }; }; - Altera_Forum
Honored Contributor
Use at your own risk then (no support, documentation, etc..) It's typically not a good idea to rely on unsupported features especially when the vendor is moving away from those same features.
- Altera_Forum
Honored Contributor
Documentation is not needed, I compiled a new "CusP (no_lic)", everything is in the "cusp-engine-tests.jar". Altera make the mistake of not doing support for "CusP".
- Altera_Forum
Honored Contributor
Full circle to my first post, there is a reason why it's not documented or supported.... It was experimental and wasn't persuded any further. I wouldn't recommend using for production since who knows how long it'll work for (or if it will even remain in the tools).