- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I have a problem with using the control port for the test pattern generator and the alpha blending mixer. I can write to the registers as defined in the VIP User Guide with IOWR/RD, but with no effect to my VGA screen. I don't understand the pseudo code completely (page 152 from User Guide)
go = 0;
while (true)
{
status = 0;
while (go != 1 )
wait();
read_control(); //Copies control to internal register
status = 1;
do once for progressive output or twice for interlaced output
{
send_control_packet();
send_image_data_header();
output_test_pattern ();
}
}
especialy the last five lines. The other lines I do understand, that is setting / unsetting the registers, but the last five? Where do I get the data header from? Can somebody explain it to me? Or has an link to some C source code? P.S. I have attached the test pattern generator directly to the vga controller (with timing adapter), with NIOS processor > uC/OSII. Thank you
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problem partically solved by using the macro IOWR instead of IOWR_16DIRECT.
I thought I had to use the 16DIRECT version because the registers are 16-bit wide. But I think I was wrong...- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Johnny321,
have you found a solution for controlling the blending mixer? i have no idea how to do this. Can you recommend any code snippets?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The VIP cores and the standard cores don't work together fine. (I did not get in working). But what's you're problem exactly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My first idea was to control the alpha blending mixer resp. the scaler without the help of the niosII but it seems not comfortable. now I'm trying to implement the system with ne nios core but i haven't found any infomation about the VIP c++ API's. do you know where i find an overview?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page