Пропустить навигацию
Only UART. No VGA, no framebuffer. Just UART.
0:00 / 1:36

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

Logic Destroyer

@splinedrive21 тыс. подписчиков

Открыть в X
135 отметок «Нравится»СкачатьОригинальный пост

17 615 просмотров

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 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля 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 отметок «Нравится»

  • Фото профиля 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 отметок «Нравится»

  • Фото профиля Logic Destroyer

    @splinedrive

    Enjoy the silence. Enjoy Vivado.

    37 отметок «Нравится»

  • Фото профиля Logic Destroyer

    @splinedrive

    lol

    9 отметок «Нравится»

  • Фото профиля Logic Destroyer

    @splinedrive

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

    92 отметки «Нравится»

  • Фото профиля Logic Destroyer

    @splinedrive

    Friday is vivado day

    25 отметок «Нравится»

  • Фото профиля 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 отметки «Нравится»

  • Фото профиля 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 отметок «Нравится»

  • Фото профиля 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 отметки «Нравится»

  • Фото профиля 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 отметки «Нравится»