Site Tools


com

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
com [2025/02/13 21:28] 2a00:1028:8390:729e:10f5:7d07:f6da:1a81com [2025/04/21 22:13] (current) 2a00:1028:8390:729e:2bb8:2a79:48ee:3eea
Line 1: Line 1:
 +http://jana.kalcev.cz/vyuka/kestazeni/4EK213-LM/LM-pred05.pdf
 +
 +==== FPGA ====
 +
 https://schaumont.dyn.wpi.edu/ece4530f19/lectures/lecture13-notes.html https://schaumont.dyn.wpi.edu/ece4530f19/lectures/lecture13-notes.html
  
Line 136: Line 140:
  variable start : integer := 46;  variable start : integer := 46;
  begin  begin
-     if first.exponent /= 0 or second.exponent /= 0 then+     if first.exponent /= 0 and second.exponent /= 0 then
     result.sign := first.sign xor second.sign;     result.sign := first.sign xor second.sign;
     result.exponent := first.exponent + second.exponent - fp32_EXPONENT_OFFSET;     result.exponent := first.exponent + second.exponent - fp32_EXPONENT_OFFSET;
Line 164: Line 168:
         variable delta : integer := 0;         variable delta : integer := 0;
         variable start : integer := 22;         variable start : integer := 22;
-        variable shift : integer := 0; 
- variable stop : integer := 22; 
  variable zero : boolean := true;  variable zero : boolean := true;
     begin     begin
Line 202: Line 204:
  if start = 24 then  if start = 24 then
  result.mantissa(22 downto 0) := buf(23 downto 1);  result.mantissa(22 downto 0) := buf(23 downto 1);
- elsif start = 23 then + -- elsif start = 23 then 
- result.mantissa(22 downto 0) := buf(22 downto 0); + -- result.mantissa(22 downto 0) := buf(22 downto 0); 
- else + elsif start > 0 
- result.mantissa(22 downto 22-start) := buf(start downto 0)+ result.mantissa(22 downto 23-start) := buf(start-1 downto 0);
- if start < 22 then +
- stop := start; +
- end if; +
-        result.mantissa(22 downto 22-stop) := buf(start downto start-stop); +
- else +
- result := fp32_ZERO;+
  end if;  end if;
  end if;  end if;
Line 247: Line 243:
 -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
 </code> </code>
 +
 +==== Install ====
 +
 +https://www.linux-magazine.com/Online/Features/Resetting-Passwords-with-SystemRescueCd
 +
 +https://masoncb.medium.com/using-ventoy-to-install-windows-11-from-a-linux-device-ead91ce729d3
 +
 +==== WSL ====
 +https://www.reddit.com/r/bashonubuntuonwindows/comments/15jeuyu/you_can_start_mate_desktop_in_wsl_2_like_this/
 +
 +<code>
 +ln -s /dev/null /etc/systemd/system/acpid.service
 +ln -s /dev/null /etc/systemd/system/acpid.path
 +apt-get install xwayland glmark2 glmark2-wayland ubuntu-mate-desktop mate-terminal libgl1 libegl1
 +ln -s /mnt/wslg/runtime-dir/wayland-0* /run/user/$(id -u)
 +nohup Xwayland -br -ac -noreset :1 &
 +env DISPLAY=:1 WAYLAND_DISPLAY= mate-session
 +</code>
 +
 +==== Hyper-V ====
 +https://bbs.archlinux.org/viewtopic.php?id=271255
 +
 +solved this problem by forcing X to use the fbdev driver and providing the framebuffer device id like so.
 +Create the file:
 +
 +<code>
 +/etc/X11/xorg.conf.d/99-fbdev.conf
 +</code>
 +
 +Add the following:
 +
 +<code>
 +Section "Device"
 +        Identifier  "Card0"
 +        Driver      "fbdev"
 +        BusID       "PCI:0:8:0"
 +EndSection
 +</code>
 +
 +Please mind that your BusID might be different. You can just run
 +
 +<code>
 +Xorg -configure
 +</code>
 +
 +which will create /root/xorg.conf.new. Then look in this file for your BusID and act accordingly if it differs.
com.1739482116.txt.gz · Last modified: 2025/02/13 21:28 by 2a00:1028:8390:729e:10f5:7d07:f6da:1a81