Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 8_1_UART #192

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Lab 8_1_UART #192

wants to merge 15 commits into from

Conversation

dsmv
Copy link

@dsmv dsmv commented Nov 12, 2024

No description provided.

@@ -0,0 +1,5 @@
*.sv
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не понял, зачем игнорировать .sv файлы?

Copy link
Author

@dsmv dsmv Dec 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я предполагаю такой сценарий работы:

  1. выполняется скрипт prepare - копируются файлы из каталога support/step1 в текущий каталог
  2. идёт работа с файлами
    Что бы при обновлении через git pull изменённые файлы не мешали обновлению нужен локальный .gitignore с запретом *.sv

*.sv
*.svh
log.txt
run
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Директории нужно игнорировать с / в конце

*.svh
log.txt
run
uart.conf
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это нужно встроить в глобальный .gitignore файл, зачем плодить много локальных?

@@ -6,6 +6,10 @@ script=$(basename "$0")
source_script=${script/\.bash/.source_bash}
dir_source_script=../scripts/steps/$source_script

echo $script
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это лишнее. Все redirect скрипты должны быть индентичными

dir_source_script=$(readlink -f $dir_source_script)
. "$dir_source_script" &

if [ "$OSTYPE" = "msys" ]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь должен быть redirect

@@ -0,0 +1,218 @@
`include "config.svh"

//`ifndef SIMULATION
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если это тут не нужно, его нужно не комментировать, а удалить

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants