- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi, I added a simple component LCD12864 into nios system.Then I got the address space from system.h:#define LCD12864_BASE 0x00000800#define LCD12864_SPAN 16But I don't know:1) Why SPAN=16.2) What contents in the space: LCD12864_BASE=? LCD12864_BASE+1=? LCD12864_BASE+2=? ... LCD12864_BASE+15=?Looking for your help.Thanks in advanceLiuJN
- Balises:
- Define
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
The answer is in these two pieces of code: else if (avs_chipselect & avs_write)
begin
case (avs_address)
0: coe_e <= avs_writedata;
1: coe_rw <= avs_writedata;
2: coe_rs <= avs_writedata;
3: coe_data_o <= avs_writedata;
endcase
end
and if (avs_chipselect & avs_read)
begin
if (avs_address == 3)
readdata_r <= coe_data_i;
else
readdata_r <= 8'b0;
end
else
readdata_r <= 8'b0;
assign avs_readdata = {24'b0, readdata_r};
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thank you very much,Daixiwen.Can you tell me more about it:1)Does the address space contain only conduit_end?2)Is there any paper describe it in detail?Thank you more.LiuJN.
I am sorry that I dont know why my post can only display in one line.- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
It depends on your component. This one connects the avalon bus to the external conduit in a rather direct way, but other components could do some processing or provide internal memory instead.
The main documentation about the Avalon bus is the specification (http://www.altera.com/literature/manual/mnl_avalon_spec.pdf).
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable