wire [9:0] basic_addr={2'd2,basic_addr_set,4'd0}; //板卡基地址
tri iocs16=(addr[9:4]==basic_addr[9:4])?1'b0:1'bz;
assign led_out=wr_data[11:0];
[email=always@(iow,addr,reset]always@(iow,addr,reset[/email])
begin
if(reset)
begin
// pl_reg_h<=1'h0;
end
else if(!(iow)&&(addr==basic_addr))
begin
// pl_reg_h<=data[15];
end
else if(!(iow)&&(addr==(basic_addr+1)))
begin
wr_data<=data;
end
end