From 125bbb57533212eeaecddb930f9c334d52e8f6c2 Mon Sep 17 00:00:00 2001 From: saji Date: Mon, 1 Jul 2024 21:19:26 -0500 Subject: [PATCH] add posts --- _data/metadata.js | 12 +- _includes/layouts/home.njk | 11 - content/blog/SNESAPU.md | 11 + content/blog/fourthpost/fourthpost.md | 2 +- content/blog/yosys4gal/pla_logic2.svg | 1281 +++++++++++++++++++++++++ content/blog/yosys4gal/yosys4gal.md | 19 + eleventy.config.images.js | 3 +- 7 files changed, 1319 insertions(+), 20 deletions(-) create mode 100644 content/blog/SNESAPU.md create mode 100644 content/blog/yosys4gal/pla_logic2.svg create mode 100644 content/blog/yosys4gal/yosys4gal.md diff --git a/_data/metadata.js b/_data/metadata.js index 5a5c99b..4ea6c10 100644 --- a/_data/metadata.js +++ b/_data/metadata.js @@ -1,11 +1,11 @@ module.exports = { - title: "Eleventy Base Blog v8", - url: "https://example.com/", + title: "Musings", + url: "https://saji.dev/", language: "en", - description: "I am writing about my experiences as a naval navel-gazer.", + description: "Random notes and ideas.", author: { - name: "Your Name Here", - email: "youremailaddress@example.com", - url: "https://example.com/about-me/" + name: "Saji", + email: "saji@saji.dev", + url: "https://saji.dev/about-me/" } } diff --git a/_includes/layouts/home.njk b/_includes/layouts/home.njk index cfb97f6..35df4f1 100644 --- a/_includes/layouts/home.njk +++ b/_includes/layouts/home.njk @@ -1,16 +1,5 @@ --- layout: layouts/base.njk --- - -{%- css %}{% include "public/css/message-box.css" %}{% endcss %} -
-
    -
  1. Edit the _data/metadata.js with your blog’s information.
  2. -
  3. (Optional) Edit eleventy.config.js with your configuration preferences.
  4. -
  5. Delete this message from _includes/layouts/home.njk.
  6. -
-

This is an Eleventy project created from the eleventy-base-blog repo.

-
- {{ content | safe }} diff --git a/content/blog/SNESAPU.md b/content/blog/SNESAPU.md new file mode 100644 index 0000000..b1f9c9f --- /dev/null +++ b/content/blog/SNESAPU.md @@ -0,0 +1,11 @@ +--- +title: SNES APU +description: Heei there +date: 2022-03-24 +tags: + - project +--- + + +This is a test + diff --git a/content/blog/fourthpost/fourthpost.md b/content/blog/fourthpost/fourthpost.md index 4c1a5b2..744c4d9 100644 --- a/content/blog/fourthpost/fourthpost.md +++ b/content/blog/fourthpost/fourthpost.md @@ -8,7 +8,7 @@ Leverage agile frameworks to provide a robust synopsis for high level overviews. Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring. -{% image "./possum.png", "A possum parent and two possum kids hanging from the iconic red balloon" %} +{% image "./possum.png", "A possum parent and two possum kids hanging from the iconic red balloon", ["100"] %} ## Section Header diff --git a/content/blog/yosys4gal/pla_logic2.svg b/content/blog/yosys4gal/pla_logic2.svg new file mode 100644 index 0000000..6caef53 --- /dev/null +++ b/content/blog/yosys4gal/pla_logic2.svg @@ -0,0 +1,1281 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + input + output + AND plane + OR plane + + diff --git a/content/blog/yosys4gal/yosys4gal.md b/content/blog/yosys4gal/yosys4gal.md new file mode 100644 index 0000000..c406b64 --- /dev/null +++ b/content/blog/yosys4gal/yosys4gal.md @@ -0,0 +1,19 @@ +--- +title: "yosys4gal: a Yosys Synthesis flow for GAL chips" +description: Bringing modern synthesis to 30-year old technology with Yosys and Rust. +date: 2024-06-14 +--- + +# A History Lesson + +During the semiconductor revolution, a dilemma appeared: Designing new ICs required a lot of time and effort to create the mask, +and iteration was expensive. At the time, IC designs were very simple, since the available tools/compute to do tasks like optimization +or place-and-route were limited. And what if you wanted a low-volume design? + +To address these concerns, the PAL was born. The principle was straightforward - we use Sum-of-Product notation and place a 2D grid of wires +as a matrix interconnect. By placing tap points at the intersections of the horizontal and vertical wires, we tie them together. + +{% image "./pla_logic2.svg", "Hi" %} + + +hi diff --git a/eleventy.config.images.js b/eleventy.config.images.js index 0b4a823..25a2fc5 100644 --- a/eleventy.config.images.js +++ b/eleventy.config.images.js @@ -23,8 +23,7 @@ module.exports = function(eleventyConfig) { // https://www.11ty.dev/docs/plugins/image/ eleventyConfig.addAsyncShortcode("image", async function imageShortcode(src, alt, widths, sizes) { // Full list of formats here: https://www.11ty.dev/docs/plugins/image/#output-formats - // Warning: Avif can be resource-intensive so take care! - let formats = ["avif", "webp", "auto"]; + let formats = ["webp", "jpeg"]; let input; if(isFullUrl(src)) { input = src;