Hi all,
out port strobe = XS1_PORT_1A;
out buffered port:8 data = XS1_PORT_1B;
out port clk = XS1_PORT_1C;
clock CLK_SRC = XS1_CLKBLK_1;
set_port_inv(strobe);
strobe <: 0;
configure_clock_rate (CLK_SRC, 100 , 8);
configure_port_clock_output (clk, CLK_SRC);
configure_out_port_strobed_master(data, strobe, CLK_SRC, 1);
data <: 0x73;
start_clock(CLK_SRC);
sync(data);
stop_clock(CLK_SRC);
strobe <: 1;
strobe <: 0;
In above code i am not getting output for last 2 statements. I made strobe port as strobed signal for data port. How can i disable the strobing of a port ??
Thankyou
Yugandhar
How to disable a strobed port
-
- Junior Member
- Posts: 7
- Joined: Wed Aug 31, 2011 9:13 am
-
- XCore Expert
- Posts: 968
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
What about configure_out_port()? (see xs1.h)
Or stop_port() then start_port()?
Or stop_port() then start_port()?