• Rationalisation

    Andre Powell3 days ago 0 comments

    As I think I mentioned I've taken the 'register file' payload memories and converted them into SRAMs. This meant I could have a crack at seeing how large a single Trinity Net came out as. The result was not great, ~51k Luts for a 3D node, which is about 43% of the present FPGA. Time to rationalise a few things.
    I am not going to be able to get an FPGA large enough to go 3D but will be able to go 2D. With that aspect in mind I was able to get down to 8 connections and the area came down to 9250 Luts, this is a bit more feasable. Could get this happily into a single core system and have an array. Note that the internal interconnect has come down from ~17.7 k Luts, this coming down to 1.7 k Luts. Also note this is still more connections than the original Transputer as this had four, we have eight.

  • Plans !

    Andre Powell03/03/2019 at 22:11 0 comments

    Now that they MPPA RTL with Block RAM has now been updated time it's time to start to see if it can be implemented in an FPGA.

    This will be a stepped process.

    First a single core with only one instantiation. This will be targetted at the first FPGA board.

    Next to repeat the same targeting the larger FPGA.

    After this two instantations in X.

    The next stage will be a 2x2 array. I suspect that will be the limit.

    After that I suspect having to save up or sell the family into white slavery.

    It'll be quiet but I think bear up !

  • Behind the Curve !

    Andre Powell03/02/2019 at 16:07 0 comments

    I wanted to update the MPPA Complex with an updated Trinity Net.

    One of the problems is that the MPPA and more specifically the Trinity Dual Noc Complex is comparatively old.

    This means that I have to add in all the other updates that have happened since I last looked at it.

  • Dual Core Running !

    Andre Powell02/18/2019 at 23:14 0 comments

    Now have the FPGA re-imaged with the dual core image along with the LCD Character Sender. I decided to put the Secondary Trinity Core into action along with the Primary Trinity Core. So I wrote a program that works out which core it is and then updates the lines with what it is. They then send a single character to the display, pause and then send a different one to the same position. So what we have here is something that tests that the two cores can extract instructions from the same memory and then writes to two slightly different areas of data memory. Then a third agent, the LCD Character sender, reads that memory and displays it. The Primary core is sending hash and then percent, the Secondary is sending backward slash and then is supposed to send forward slash. However it's sending the Yen symbol. Possibly the Display Chip has that encoded for 0x5C. Too tired and late to work it out. Any two cores running out of the same fabric successfully being arbitrated.
    Sadly not got this on you tube or vimeo and I need to go to bed !
    Now Joined Vimeo so here is the short video


  • Debug

    Andre Powell02/17/2019 at 22:14 0 comments

    I have now been able to get the LCD Char Sender to work after some debugging.

    The system is told where in memory it can extract text from and then provides the control signals to the display.

    Note that it can be anywhere in memory and does not need to be word aligned so if I create some text in a program I just send the address of the start of the text and off it goes. As the system can also be set so that it keeps reading from the system 19 times a second I can have a low level of 'animation'.

    Also note that it sets the cursor to the bottom line after writing 16 characters and then writes a further 16 characters. The cursor is then sent to the top line again.
    The infrastructure is non blocking so I can have the processor running and the LCD Character sender running in the background. It's only if the text is sitting in the same memory block will there be contention and that is arbitrated.

  • LCD Char Sender

    Andre Powell01/31/2019 at 22:55 0 comments

    The first peripheral to send characters to the LCD from an area in memory has been completed. It's not in the complex yet but that will be the next step.

    Once the LCD Char Sender is kicked off it gives a 50 ms wait then sets the Display up. It then reads in the display memory a character at a time.
    Then it puts the cursor at the start of the top line and reads out the first 16 bytes.

    it then sends the cursor to the start of the next line and proceeds to send the next 16 bytes.

    Then if the 'go' signal is still active it waits for 50 ms and then reads the memory again in case there has been an update and displays it.

    If the 'go' signal has been dropped then it waits for it to go again.

    Along with other delays it cycles 19.something times a second which seems a reasonable refresh rate.

    The next task is to integrate into the Dual Complex run some tests and then synth it.

    Assuming this goes ok I will look at getting the graphics screen up. This will be slightly more challenging but hey.

    After that must on back to the RS232 !

  • Peripherals

    Andre Powell01/10/2019 at 19:56 0 comments

    I have decided to add two new peripherals to the Trinity Complexes.
    The first is one that will drive a 2x16 LCD. It will do the initial set up of the display and then on a timer update the display continuously. This will be possible as the 'fabric' is designed to do this as a non block matrix. It will do the carriage return for the second line. I just need to work out how to manipulate the cursor on the display. This will take up 32 bytes of memory.
    The second will read out memory and display on a 128x64 matrix LCD. This will mean that a 1kB memory will need to be used. Again this will be a timed update. I will be interesting to see how it goes.
    In the meantime I shall continue to investigate the Uart and see if I can get it to work as expected.

  • First Interrupt

    Andre Powell12/27/2018 at 23:03 0 comments

    I put some debug into the Interrupt Service Routine for the UART Tx to see it would work in the FPGA. While I shouldn't be surprised I still am and have a bit of a smile on my face.

    While the Uart wasn't written by me (just made to work properly and debugged !), the rest of the chain was put together by me :).

  • A Bit !

    Andre Powell12/26/2018 at 10:32 0 comments

    Mr. Borodin was asked for just one ping. I asked for just one bit. As can be seen this bit is about 8.64 us which gives up approx 115.7 kHz which is roughly in the ball park for 115.2 kBaud. As can be seen we are swinging the full 12v which may be an issue these days as everyone expects to see 5V so I am going to have to work on that little problem before connecting to a laptop. If anyone has some suggestions than I am open to ideas, possible some Opto Isolation or the like.

  • Success

    Andre Powell12/15/2018 at 22:09 0 comments

    Now I have cracked the LCD driving issue, one of the Data pins was assigned to the wrong pin in the FPGA by one character.
    So I now have the ability to send text to the LCD under my control. I need to work on the organisation of the display but it's an important step since I got something VERY rudimentary a long time ago.

    Now to get the Serial to work as expected !!