6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 3:33 am

All times are UTC




Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Thu Oct 06, 2016 4:36 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
I see what happened. I took the 74xx32's to be AND gates, because that's how you drew them. The '32 is an OR gate, not an AND. Here's an OR gate:

Image

The input side is curved, the the output comes to a little point, both unlike the AND gate.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 06, 2016 7:11 am 
Offline

Joined: Sat Jul 28, 2012 11:41 am
Posts: 442
Location: Wiesbaden, Germany
There are different symbol sets for logic gates. The original one was a DIN symbol, yours is the ANSI symbol.
https://en.wikipedia.org/wiki/OR_gate

_________________
6502 sources on GitHub: https://github.com/Klaus2m5


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 06, 2016 5:38 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
I've never seen that before. I've been in this for about 35 years, and all along, I thought that DIN symbol was just a wrong way to draw an AND gate! I strongly recommend sticking with the ANSI symbol.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 06, 2016 5:54 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
GARTHWILSON wrote:
I've never seen that before. I've been in this for about 35 years, and all along, I thought that DIN symbol was just a wrong way to draw an AND gate! I strongly recommend sticking with the ANSI symbol.

The DIN symbols (DIN 40700) have been around since at least the mid-1970s but are now considered obsolete. These days. the preferred symbology is the IEC 617-12 derivative, which I personally find confusing and in some cases meaningless. Like Garth, I'm old school and continue to use the "military" symbology (originally MIL-STD-806 and later defined in ANSI/IEEE Std 91-1984) that I've known since around 1966.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 07, 2016 5:12 am 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
I remember learning the DIN symbols as a student, but I've mainly used the ANSI symbols myself. Fortunately those horrible IEC symbols are exceedingly rare. I don't know why the DIN symbols are obsolete and the IEC are not. It should have been the other way around.


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 07, 2016 5:17 am 
Offline

Joined: Sat Jul 28, 2012 11:41 am
Posts: 442
Location: Wiesbaden, Germany
I didn´t say I like it better. However, it is in the standard Eagle libraries so you should be aware.

Remember Hubble, the space telescope? Measuring in inches or cm - you have to be aware or you send scrap metal into orbit.

_________________
6502 sources on GitHub: https://github.com/Klaus2m5


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 07, 2016 6:57 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
Klaus2m5 wrote:
Remember Hubble, the space telescope? Measuring in inches or cm - you have to be aware or you send scrap metal into orbit.

...or into the ground.

Air Canada nearly crashed a Boeing 767 in 1983 due to imperial vs. metric conversion errors.

During the fueling of the plane in Montreal, the required fuel load for the trip had to be converted from pounds to liters, as Air Canada 767s were built to the metric system. The conversion was in error and compounding the problem, the plane's flight computer was told that the correct amount of fuel had been loaded. So the pilots unknowingly took off with about half of the required fuel load to make it from Montreal to Edmonton, plus the required reserve. The plane's engines flamed out while cruising at high altitude over northern Ontario, however the pilots were able to deadstick to a rough landing at the old Royal Canadian Air Force base near Gimli, Manitoba. The plane was banged up pretty badly from the landing. but there were only minor injuries to passengers. When investigators arrived they discovered the plane had run out of gas in mid-flight.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 08, 2016 12:08 pm 
Offline

Joined: Wed Mar 02, 2016 12:00 pm
Posts: 343
GARTHWILSON wrote:
I see what happened. I took the 74xx32's to be AND gates, because that's how you drew them. The '32 is an OR gate, not an AND. Here's an OR gate:

(picture)

The input side is curved, the the output comes to a little point, both unlike the AND gate.


Oh I see. For some reason Eagle CAD seems to draw it the way I posted. I will try to change it to make less confusion here.

Anyway, the circuit doesn't work and I am leaning towards that being a timing problem. The actual tested circuit has a 50ns delay between BEL and BER:

Code:
BEL  111100000000001111 (left BE=MBE)
BER  000001111111100000 (right BE)


Without the small delay in switching from one bus to the other, I got bus contention (which I originally thought was the problem). I have tested different writing pulse delays but no luck yet. Basically it should write on the rising edge of WE, but it is not doing so very often.

The first design (which worked better, but still error-prone) used a combined OE signal and put that through a NAND with the CLK on the other input to generate WE. That was stable if I only ran one processor at a time (e.g. no same-cycle access).

At time being I am testing my first CPLD designs (Lattice breakboard) to get a more dynamic logic (read: easy to change). I want to run the two processors at different speeds, so a CPLD helps in that it has its own clock. Once I get some more results I will post it here.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 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

Search for:
Jump to: