Last visit was: Tue Nov 29, 2022 3:37 pm
It is currently Tue Nov 29, 2022 3:37 pm

 [ 1 post ] 
 Bus master controller (repurposing an 8259) 
Author Message

Joined: Sat Feb 02, 2013 9:40 am
Posts: 1795
Location: Canada
Came up with the following schematic for a bus master (not an interrupt) controller. I think it’s interesting that an 8259 could be used in this manner. I was going to use it to handle bus mastering, but decided to implement most of the circuit inside the FPGA chip to conserve board space. The 8259 has the option of rotating the interrupt priorities which could be put to use for rotating the bus master priorities. The 8259 receives a bus master request using one of it’s interrupt lines. It then generates an INT signal which is fed to logic that generates an INTA. The INTA pulses latch the resolved requester on the 8259’s cascade lines. The 8259 must be in master mode for this to work. The cascade lines are decoded and latched by a 74SLS259 and used as an acknowledge signal for the bus master. The ‘259 makes the bus master selection sticky. The 574 latch makes sure that the bus arbitration is on a bus cycle basis. (CYC goes high at the start of a bus cycle).
I think a circuit like this has a lot of good features. The bus master can be turned off by disabling the interrupt in the 8259. Priorities can be controlled via software.

You do not have the required permissions to view the files attached to this post.

Robert Finch

Sat Mar 07, 2020 3:49 am WWW
 [ 1 post ] 

Who is online

Users browsing this forum: CCBot and 0 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software