Altera_Forum
Honored Contributor
17 years agoRun-time control of Video IP scaler
I've been adapting the Video IP Reference Design (an427) to teach myself the Altera tools. I've added run-time control to the scaler and rebuilt the SOPC system without trouble, but I'm not sure how to adapt the nios software to match the new system.
I've looked at system.h and found that the scaler base address etc have been added. I've added the "#include "Scaler.hpp"" line to the "main" program and I've had a guess at what the cpp will look like: Scaler* the_scaler = new Scaer(MY_ALT_VIP_SCL_BASE); the_scaler->start(); But I get the following errors: ../main.cpp:40: error: missing template arguments before '*' token ../main.cpp:40: error: `the_scaler' was not declared in this scope ../main.cpp:40: error: `Scaler' is not a type . Can anyone help ?