Navigation überspringen
Only UART. No VGA, no framebuffer. Just UART.
0:00 / 1:36

Only UART. No VGA, no framebuffer. Just UART.

Logic Destroyer

@splinedrive21.379 Follower

Auf X besuchen

17.615 Aufrufe

Only UART. No VGA, no framebuffer. Just UART. Picked up my pipelined CPU Kian StealthV again after not touching it for a year. Just playing around a bit to get back into it and find the motivation to push it towards a Linux SoC.

10 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Logic Destroyer

    @splinedrive

    you would not believe it, but my wife asked me what project I am working on right now. I told her I am working on a pipelined CPU that is supposed to boot Linux. Then I tried to explain a bit of computer architecture to her: superscalar processors, multicycle, single-cycle, out-of-order execution, IPC, CPI. Pretty interesting.

    136 Likes

  • Profilbild von Logic Destroyer

    @splinedrive

    Yeah boys. Now I’m using Vivado the way I like to work: like a Unix guy. GUIs are not my thing. Using Vivado like I use open source tools. The way it’s meant to be. Fuck the GUI.

    48 Likes

  • Profilbild von Logic Destroyer

    @splinedrive

    Enjoy the silence. Enjoy Vivado.

    37 Likes

  • Profilbild von Logic Destroyer

    @splinedrive

    lol

    9 Likes

  • Profilbild von Logic Destroyer

    @splinedrive

    Bro, SystemVerilog is just awesome. Nobody needs those weird HDLs based on Python, Scala, or other junk.

    92 Likes

  • Profilbild von Logic Destroyer

    @splinedrive

    Friday is vivado day

    25 Likes

  • Profilbild von Logic Destroyer

    @splinedrive

    Dropped GTKWave. Had enough. Using Xsim in Vivado now. If I had the cash for ModelSim, I’d use that instead. Definitely interested in it. Still setting up the environment and trying out the debug flow. Everything is scripted anyway. Hardly doing anything manually.

    23 Likes

  • Profilbild von Logic Destroyer

    @splinedrive

    My next task is to re-implement the branch prediction from scratch. I removed the old version I wrote about a year ago after not touching the SoC for a long time. The timing was poor, and I couldn’t really follow my own design anymore.

    11 Likes

  • Profilbild von Logic Destroyer

    @splinedrive

    (nix:nix-shell-env) hd@i9:~/stealthv $ x-shell-env) hd@i9:~/stealthv $ cat flake.nix { description = "KianV StealthV / FPGA dev"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; yosys-slang = pkgs.stdenv.mkDerivation { name = "yosys-slang"; src = pkgs.fetchFromGitHub { owner = "povik"; repo = "yosys-slang"; rev = "d967c68"; fetchSubmodules = true; hash = "sha256-rh+6m9wLu1aa0VOpiVqYcoP//VxeHZUE0+kPvyohauc="; }; nativeBuildInputs = with pkgs; [ cmake pkg-config ]; buildInputs = with pkgs; [ yosys slang ]; installPhase = '' mkdir -p $out/share/yosys/plugins cp $out/share/yosys/plugins/ ''; }; in { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ yosys nextpnr trellis icestorm openfpgaloader gtkwave verilator yosys-slang ]; shellHook = '' export YOSYS_PLUGIN_PATH=${yosys-slang}/share/yosys/plugins echo "yosys: $(yosys --version)" ''; }; } ); } (nix:nix-shell-env) hd@i9:~/stealthv $

    4 Likes

  • Profilbild von Embedr

    @embedrapp

    watching someone raw dog a cpu build with just yosys, nextpnr, and a nix shell makes me feel like i'm doing hardware wrong.

    2 Likes